![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| conversion from Unix to windows | kiwi_bloke | Shell Programming and Scripting | 3 | 10-10-2005 10:56 AM |
| Dos to Unix conversion | john413 | Shell Programming and Scripting | 1 | 09-10-2005 12:13 PM |
| Unix to EBCDIC conversion | Bab00shka | UNIX for Dummies Questions & Answers | 2 | 01-20-2005 08:58 AM |
| unix to windows conversion | misc19432043 | Filesystems, Disks and Memory | 2 | 10-10-2002 11:08 PM |
| character conversion | sunil bajaj | UNIX for Dummies Questions & Answers | 3 | 04-15-2002 08:48 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
character set conversion in unix C
Hi,
Could anybody explain how to change the character set of a particular string in C in unix. we are using HP-UX as OS. We require to change the input string which is in cp1250 format to utf-8. A sample code would help. Thnx in advance |
| Forum Sponsor | ||
|
|
|
|||
|
If you know how to do it at the command line with iconv, create a system() call to write it to a file.
There are C calls: iconv_open(), iconv(), iconv_close() if you need to do it extensively. try man 3 iconv_open Example code - C Library Reference |
|||
| Google The UNIX and Linux Forums |