Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: utf8 support



neither of these help

when i call  g_locale_to_utf8  i get back a null pointer.

best jim



On Oct 17, 2004, at 4:49 PM, Pelle Johansson wrote:

James E. Hopper wrote / skrev:

I am helping someone port a program to os x using x11, and he needs to do localized text. I am having trouble making it work (i have no idea how its supposed to work ;-)). I did:

setenv LC_CTYPE en_US.ISO8859-1
xterm -fn '-Misc-Fixed-Medium-R-Normal--18-120-100-100-C-90-ISO10646-1'.


But the program still doesnt work. can anyone tell me how to setup the x11 command line to allow programs which use utf8 characters to work?

If you want UTF-8, why are you setting CTYPE to ISO8859-1?

Try:
setenv LC_CTYPE en_US.UTF-8
instead.
CTYPE might not be enough though it it still doesn't work try LC_ALL instead.
--
Pelle Johansson
<email@hidden>



_______________________________________________ Do not post admin requests to the list. They will be ignored. X11-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

This email sent to email@hidden
References: 
 >utf8 support (From: "James E. Hopper" <email@hidden>)
 >Re: utf8 support (From: Pelle Johansson <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.