Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Mar 18, 2008, 05:02 PM   #1
Cheer
macrumors newbie
 
Join Date: Mar 2008
C: Setting Char Set

Hello,
I need to set char set Latin 4 (ISO-8859-4) to C program, because I need some other symbols, which are not stored in ANSI-C. Could anyone help me how to deal with that.
Cheer is offline   0 Reply With Quote
Old Mar 18, 2008, 05:42 PM   #2
sord
macrumors 6502
 
Join Date: Jun 2004
C does not support other character sets by default. There are libraries (such as iconv) that add that support though. I've never used it though so I can't provide examples.
__________________
12" iBook 1GHz 768MB RAM 60GB HD Airport Extreme [sold and missed]
17" iMac G5 1.6GHz 768MB RAM 160GB HD [sold]
PowerMac Quad 2.5GHz G5 2.5GB RAM
sord is offline   0 Reply With Quote
Old Mar 18, 2008, 06:47 PM   #3
Cheer
Thread Starter
macrumors newbie
 
Join Date: Mar 2008
Quote:
Originally Posted by sord View Post
There are libraries (such as iconv) that add that support though.
So I need to use that library then.. but I still can't find info how to do that.
Cheer is offline   0 Reply With Quote
Old Mar 18, 2008, 07:33 PM   #4
yeroen
macrumors 6502a
 
yeroen's Avatar
 
Join Date: Mar 2007
Location: Cambridge, MA
You can read all about it here:

http://www.gnu.org/software/libiconv/

And there are always the manpages to consult (reprinted in the link above).

The iconv package consists of just 4 functions in a shared library, and 1 command line utility. It's really simple and shouldn't be difficult to make use of in your program.
__________________
all Jarvis, all the time
yeroen is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
How to set default settings for all files and folders in Snow Leopard narja87 Mac Basics and Help 1 Dec 12, 2009 09:26 AM
Set view settings for all finder windows not working MythicFrost OS X 0 Nov 15, 2009 05:07 AM
Can the overscan setting be set to toggle from a keyboard command? akm3 Mac Basics and Help 1 Jun 22, 2008 06:39 PM
Automator Help: set display settings hyroboarder Mac Applications and Mac App Store 0 Nov 7, 2007 05:00 PM
Coldplay set to set iTunes download record MacBytes MacBytes.com News Discussion 10 Apr 26, 2005 07:02 AM


All times are GMT -5. The time now is 10:11 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC