Re: having problem with locales ?
Merhaba Mehmet, Am 2006-02-26 04:31:16, schrieb Mehmet Fatih Akbulut: > hi all, > which locales should i select to see characters like ?,?,ç,ö,?,ü correctly > on konsole ? > en_US UTF-8 doesnt show them right :'( It will, if you install the right FONT. I am using cyberbit for my xterm. > Cheers, > MFA Greetings Michelle Konzack Systemadministrator Tamay Dogan Network Debian GNU/Linux Consultant -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ # Debian GNU/Linux Consultant # Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSM LinuxMichi 0033/3/8845235667100 Strasbourg/France IRC #Debian (irc.icq.com) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: having problem with locales ?
hi again,#cat /etc/environmentLANGUAGE="en_US:en_GB:en"LANG=en_US.UTF-8this is what /etc/environment contains.and ; localhost:~# dpkg-reconfigure localesGenerating locales (this might take a while)... en_US.ISO-8859-1... done en_US.UTF-8... done tr_TR.ISO-8859-9... done tr_TR.UTF-8... doneGeneration complete.i selected en_US.UTF-8 as my locales. but still not able to see characters that specific to Turkish Language.
Re: having problem with locales ?
"Mehmet Fatih Akbulut" <[EMAIL PROTECTED]> wrote: > which locales should i select to see characters like ı,ş,ç,ö,ğ,ü > correctly on konsole ? en_US UTF-8 doesnt show them right. NOTE: this message is in UTF-8; it will not display correctly on a non-UTF-8 system. I think you haven't selected the en_US.UTF-8 locale successfully. What does the locale command say? Perhaps you did not really generate the en_US.UTF-8 locale? Any UTF-8 locale should show UTF-8 texts in the same way. The difference between the various UTF-8 locales is only in the user interface (the language of menus, warnings, etc.), not in the encoding or displaying of texts. In this case, what you want to see is e.g., a Turkish dotless i (ı), which is 0xc4 0xb1 in UTF-8. What you see instead is ı. In ISO-8859, Ä is 0xc4, ± is 0xb1. So it seems that in your case, the application generates proper UTF-8, but your system still uses some kind of ISO-8859 character set. Switching to any kind of UTF-8 locale (which can be done in Debian by setting e.g. LANG=en_US.UTF-8 in /etc/environment) should solve the problem, I think. IMHO Debian should do this by default. Regards, Jan http://www.jw-stumpel.nl/stestu.html -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: having problem with locales ?
On Sat, Feb 25, 2006 at 07:49:27PM -0800, Alvin Oga wrote: > >On Sun, 26 Feb 2006, Mehmet Fatih Akbulut wrote: > >> hi all, >which locales should i select to see characters like ?,?,?,?,?,? correctly >on konsole ? >en_US UTF-8 doesnt show them right :'( >an example output of a php code: [in english: file successfully opened and >then closed.] >>Dosya ba?ar? ile a??ld? ve kapat?ld?. > which is what i want to see. >>Dosya ba?ar?? ile ald?? ve kapat??ld??. > which is what i see now ... >O.S. and all installed programs are in english [so i dont want to switch >locales to tr_TR], but sometimes i need the above native characters. >what should i do to see such characters correctly ? >many thanks in advance. > > > >en_US is english .. utf-8 by itself doesn't mean anything >its usually gonna be xx_yy.utf-8 and other case sensitive variables > >you have to set the proper LC variables ( a couple of the dozen+ >variables ) if you want a mixture of some characters and not others ... >and probably its keyboard dependent too Often it's enough to set only LANG. /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://therning.org/magnus Software is not manufactured, it is something you write and publish. Keep Europe free from software patents, we do not want censorship by patent law on written works. In order to understand recursion you must first understand recursion. pgpzaSxTuBMFy.pgp Description: PGP signature
Re: having problem with locales ?
On Sun, 26 Feb 2006, Mehmet Fatih Akbulut wrote: > hi all, which locales should i select to see characters like ý,þ,ç,ö,ð,ü correctly on konsole ? en_US UTF-8 doesnt show them right :'( an example output of a php code: [in english: file successfully opened and then closed.] >Dosya baþarý ile açýldý ve kapatýldý. > which is what i want to see. >Dosya baÅarı ile açıldı ve kapatıldı. > which is what i see now ... O.S. and all installed programs are in english [so i dont want to switch locales to tr_TR], but sometimes i need the above native characters. what should i do to see such characters correctly ? many thanks in advance. en_US is english .. utf-8 by itself doesn't mean anything its usually gonna be xx_yy.utf-8 and other case sensitive variables you have to set the proper LC variables ( a couple of the dozen+ variables ) if you want a mixture of some characters and not others ... and probably its keyboard dependent too c ya alvin