Hi all,
I would like to change the extended ascii code ( 128 - 255).
I tried to change LC_ALL and LANG in current session ( values from locale -a) and for no good.
Thanks. (0 Replies)
hi i would like to check text files if they contain extended ascii characters within or not. i really dont have any idea how to start your kind help would be very much appreciated thanks. (7 Replies)
Can someone help me to write a script / command to read in a file, character by character, replace any unknown ASCII characters with space. then write out the file to a new filename/
Thanks! (1 Reply)
Hi gurus,
I have a file in unix with ascii values. I need to convert all the ascii values in the file to ascii characters. File contains nearly 20000 records with ascii values. (10 Replies)
Hi All,
I'm trying to send extended ascii characters to my HP2055 as part of PCL printer control codes. What I want to do is select a bar code font, print the bar code and reset the printer to the default font.
Selecting the bar code font works good. Printing the bar code goes almost ok too. ... (5 Replies)
Hi,
Is there a way to identify the lines in a file having extended ascii characters and display the same?
For instance I have a file abc.txt having below data
aaa|bbb|111|This is first line
aaa|bbb|222|This is secõnd line
aaa|bbb|333|This is third line
aaa|bbb|444|This is foùrth line... (3 Replies)
We are getting extended Ascii characters in the input file and my requirement is to search and replace them with a space. I am using the following command
LANG=C sed -e 's// /g'
It is doing a good job, but in some cases it is replacing the extended characters with two spaces. So my input... (12 Replies)
Hi All,
I am trying to remove (SELECTIVE - passed as argument) Extended ASCII using Awk based on adhoc basis. Can you please let me know how to do it. I have to implement this using awk only.
Thanks & Regads (14 Replies)
I am working with a log file that I am trying to clean up by removing non-English ASCII characters. I am using Bash via Cygwin on Windows.
Before I start I set:
export LC_ALL=C
I clean it up by removing all non-English ASCII characters with the following command;
grep -v $''... (4 Replies)
Hello,
I am on AIX.
When I encounter extended ascii characters and special characters on a file I need to print..
Byte position, actual character and line number.
Is there a simple command that can give me the above result ?
Thanks in advance (38 Replies)
Discussion started by: rosebud123
38 Replies
LEARN ABOUT OSX
wmemset
WMEMCHR(3) BSD Library Functions Manual WMEMCHR(3)NAME
wcscat, wcschr, wcscmp, wcscpy, wcscspn, wcslcat, wcslcpy, wcslen, wcsncat, wcsncmp, wcsncpy, wcspbrk, wcsrchr, wcsspn, wcsstr, wmemchr,
wmemcmp, wmemcpy, wmemmove, wmemset -- wide character string manipulation operations
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <wchar.h>
wchar_t *
wcscat(wchar_t *restrict ws1, const wchar_t *restrict ws2);
wchar_t *
wcschr(const wchar_t *ws, wchar_t wc);
int
wcscmp(const wchar_t *ws1, const wchar_t *ws2);
wchar_t *
wcscpy(wchar_t *restrict ws1, const wchar_t *restrict ws2);
size_t
wcscspn(const wchar_t *ws1, const wchar_t *ws2);
size_t
wcslcat(wchar_t *ws1, const wchar_t *ws2, size_t n);
size_t
wcslcpy(wchar_t *ws1, const wchar_t *ws2, size_t n);
size_t
wcslen(const wchar_t *ws);
wchar_t *
wcsncat(wchar_t *restrict ws1, const wchar_t *restrict ws2, size_t n);
int
wcsncmp(const wchar_t *ws1, const wchar_t *ws2, size_t n);
wchar_t *
wcsncpy(wchar_t *restrict ws1, const wchar_t *restrict ws2, size_t n);
wchar_t *
wcspbrk(const wchar_t *ws1, const wchar_t *ws2);
wchar_t *
wcsrchr(const wchar_t *ws, wchar_t wc);
size_t
wcsspn(const wchar_t *ws1, const wchar_t *ws2);
wchar_t *
wcsstr(const wchar_t *restrict ws1, const wchar_t *restrict ws2);
wchar_t *
wmemchr(const wchar_t *ws, wchar_t wc, size_t n);
int
wmemcmp(const wchar_t *ws1, const wchar_t *ws2, size_t n);
wchar_t *
wmemcpy(wchar_t *restrict ws1, const wchar_t *restrict ws2, size_t n);
wchar_t *
wmemmove(wchar_t *ws1, const wchar_t *ws2, size_t n);
wchar_t *
wmemset(wchar_t *ws, wchar_t wc, size_t n);
DESCRIPTION
The functions implement string manipulation operations over wide character strings. For a detailed description, refer to documents for the
respective single-byte counterpart, such as memchr(3).
SEE ALSO memchr(3), memcmp(3), memcpy(3), memmove(3), memset(3), strcat(3), strchr(3), strcmp(3), strcpy(3), strcspn(3), strlcat(3), strlcpy(3),
strlen(3), strncat(3), strncmp(3), strncpy(3), strpbrk(3), strrchr(3), strspn(3), strstr(3)STANDARDS
These functions conform to ISO/IEC 9899:1999 (``ISO C99''), with the exception of wcslcat() and wcslcpy(), which are extensions.
BSD December 22, 2000 BSD