![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| conversion from Unix to windows | kiwi_bloke | Shell Programming and Scripting | 3 | 10-10-2005 01:56 PM |
| Dos to Unix conversion | john413 | Shell Programming and Scripting | 1 | 09-10-2005 03:13 PM |
| Unix to EBCDIC conversion | Bab00shka | UNIX for Dummies Questions & Answers | 2 | 01-20-2005 12:58 PM |
| unix to windows conversion | misc19432043 | Filesystems, Disks and Memory | 2 | 10-11-2002 02:08 AM |
| character conversion | sunil bajaj | UNIX for Dummies Questions & Answers | 3 | 04-15-2002 11:48 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | 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 |
|
||||
|
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 |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|