10 More Discussions You Might Find Interesting
1. Red Hat
am running the following code on a RHEL 6.6 box to list which charsets are loaded and which are available:
my @list = Encode->encodings();
my @all_encodings = Encode->encodings(":all");
... (3 Replies)
Discussion started by: Fundix
2. UNIX for Dummies Questions & Answers
I'm facing an issue when i ssh to a router and exporting the output to a txt file.
ssh email@example.com -a | tee file.txt
Closing the connection and opening the .txt file. There are strange 'domino's' appearing here and there. See the screenshot below.
... (2 Replies)
Discussion started by: Antonio Fargas
3. Shell Programming and Scripting
My control file looks like:
INTO TABLE MK9210_PROD_DL.MK9210_PROD_EG_6
FIELDS TERMINATED BY '|'
,PATIENT INTEGER EXTERNAL
,COMEG CHAR... (4 Replies)
Discussion started by: Pratiksha Mehra
4. UNIX for Advanced & Expert Users
Hello Experts, please help to provide any insight as I am facing issue migrating java application from hpux to redhat. The java program is using InputStreamReader to read a file without specifying any charset parameter.
However, in new Linux Redhat 5.6 environent, when reading a file that... (1 Reply)
Discussion started by: sonic_air
5. UNIX for Dummies Questions & Answers
what's the relationship among locale, glibc, charset, charmap and fonts?
why locale needs to be generated by glibc? how?
what are in the locale-archive file?
and what are in font files? (0 Replies)
Discussion started by: vistastar
6. Shell Programming and Scripting
I'm using a tree command in a script that for me outputs:-
| - - DIRECTORYNAME
However a different user is getting the following output:-
aaa (actually with an umlat above them) DIRECTORYNAME
I'm not sure where this could be coming from, any ideas anyone? (0 Replies)
Discussion started by: Bashingaway
7. Shell Programming and Scripting
My objective is to find out the charset using which a file is encoded. (The OS is SunOs)
I have set NLS_LANG to AR8MSWIN1256 and spooled the file.
When viewed the file using vi, I saw the following
I then inserted the line containing these codes in a... (3 Replies)
Discussion started by: sridhar_423
8. Shell Programming and Scripting
Can anyonr please tell how to load a binary file through SQLLDR.
I have the structure of the binary file in a seperate lb file but I don't know how to feed it to the sqlldr. (0 Replies)
Discussion started by: snowline84
9. Shell Programming and Scripting
Like class loader in java, can we make a function loader in shell script, for this can someone throw some light on how internally bash runs a shell script , what happenes in runtime ...
thanks in advance.. (1 Reply)
Discussion started by: mpsc_sela
10. UNIX for Advanced & Expert Users
How can I find out the charset on a Unix server (SUNOS 5.2)? I tried locale charmap and returned 646. What does 646 mean? If I send an xml file with encoding="utf-8", should the server be able to handle the file, even with special characters in it?
Thanks. (0 Replies)
Discussion started by: iengca
KICONV(3) BSD Library Functions Manual KICONV(3)
kiconv_add_xlat16_cspair, kiconv_add_xlat16_cspairs, kiconv_add_xlat16_table -- kernel side iconv library
Kernel side iconv library (libkiconv, -lkiconv)
kiconv_add_xlat16_cspair(const char *tocode, const char *fromcode, int flag);
kiconv_add_xlat16_cspairs(const char *foreigncode, const char *localcode);
kiconv_add_xlat16_table(const char *tocode, const char *fromcode, const void *data, int datalen);
The kiconv library provides multi-byte character conversion tables for kernel side iconv service.
The kiconv_add_xlat16_cspair() function defines a conversion table using iconv(3) between fromcode charset and tocode charset. You can spec-
ify flag to determine if tolower(3) / toupper(3) conversion is included in the table. The flag has following values.
KICONV_FROM_LOWER It generates a tolower table in addition to a character conversion table. The difference between two is tolower tocode or
KICONV_FROM_UPPER It generates a toupper table in addition to a character conversion table. The difference between two is toupper tocode or
A tolower/toupper conversion is limited to single-byte characters.
The kiconv_add_xlat16_cspairs() function defines two conversion tables which are from localcode to foreigncode and from foreigncode to
localcode. These conversion tables also contain both tolower and toupper tables.
The kiconv_add_xlat16_table() function defines a conversion table directly pointed by data whose length is datalen, not using iconv(3).
iconv(3), tolower(3), toupper(3)
July 17, 2003 BSD