[Om2008.x] Terminal with UTF-8 support wanted
Hello, I need in my FR a Terminal which can handle UTF-8 output; r...@om-gta02:~# DISPLAY=:0 export DISPLAY r...@om-gta02:~# LANG=es_ES.UTF-8 export LANG r...@om-gta02:~# openmoko-terminal2 (openmoko-terminal2:1887): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. moko-terminal constructed (openmoko-terminal2:1887): Vte-WARNING **: can not run /usr/libexec/gnome-pty-helper update_toolbar current font size for terminal is 5 on_idle on_idle_first_command analog for 'xterm'; Is there some way to get UTF-8 support? Thx matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e matthias.ap...@oclc.org - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Om2008.x] Terminal with UTF-8 support wanted
Hi, On Mon, Mar 2, 2009 at 10:43 AM, Matthias Apitz g...@unixarea.de wrote: Is there some way to get UTF-8 support? Thx You need to install a UTF-8 locale. To see which locales you have installed, run locale -a Unfortunately, I don't remember the package names for locales. But with an UTF-8 locale installed, I know that at least vala-terminal works and can display UTF-8 encoded text correctly. Best regards, Olof Sjöbergh ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Om2008.x] Terminal with UTF-8 support wanted
El día Monday, March 02, 2009 a las 11:14:41AM +0100, Olof Sjobergh escribió: Hi, On Mon, Mar 2, 2009 at 10:43 AM, Matthias Apitz g...@unixarea.de wrote: Is there some way to get UTF-8 support? Thx You need to install a UTF-8 locale. To see which locales you have installed, run locale -a Unfortunately, I don't remember the package names for locales. But with an UTF-8 locale installed, I know that at least vala-terminal works and can display UTF-8 encoded text correctly. r...@om-gta02:~# locale -a -sh: locale: not found r...@om-gta02:~# vala-terminal -sh: vala-terminal: not found r...@om-gta02:~# seems that I don't have both :-( any idea? matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e matthias.ap...@oclc.org - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Om2008.x] Terminal with UTF-8 support wanted
On Mon, 2009-03-02 at 11:21 +0100, Matthias Apitz wrote: El día Monday, March 02, 2009 a las 11:14:41AM +0100, Olof Sjobergh escribió: Hi, On Mon, Mar 2, 2009 at 10:43 AM, Matthias Apitz g...@unixarea.de wrote: Is there some way to get UTF-8 support? Thx You need to install a UTF-8 locale. To see which locales you have installed, run locale -a Unfortunately, I don't remember the package names for locales. But with an UTF-8 locale installed, I know that at least vala-terminal works and can display UTF-8 encoded text correctly. r...@om-gta02:~# locale -a -sh: locale: not found r...@om-gta02:~# vala-terminal -sh: vala-terminal: not found r...@om-gta02:~# seems that I don't have both :-( any idea? Mine. r...@om-gta02:~# locale -a C POSIX What's this mean? matthias -- Daniel.Li lida_m...@163.com PALFocus (http://palfocus.oicp.net) ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Om2008.x] Terminal with UTF-8 support wanted
perhpas you can do: which locale and opkg search `which locale` That will list the packages that contains locale Kind regards, @ On Mon, 2009-03-02 at 19:39 +0800, Daniel.Li wrote: On Mon, 2009-03-02 at 11:21 +0100, Matthias Apitz wrote: El día Monday, March 02, 2009 a las 11:14:41AM +0100, Olof Sjobergh escribió: Hi, On Mon, Mar 2, 2009 at 10:43 AM, Matthias Apitz g...@unixarea.de wrote: Is there some way to get UTF-8 support? Thx You need to install a UTF-8 locale. To see which locales you have installed, run locale -a Unfortunately, I don't remember the package names for locales. But with an UTF-8 locale installed, I know that at least vala-terminal works and can display UTF-8 encoded text correctly. r...@om-gta02:~# locale -a -sh: locale: not found r...@om-gta02:~# vala-terminal -sh: vala-terminal: not found r...@om-gta02:~# seems that I don't have both :-( any idea? Mine. r...@om-gta02:~# locale -a C POSIX What's this mean? matthias ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Om2008.x] Terminal with UTF-8 support wanted
El día Monday, March 02, 2009 a las 07:51:26PM +0800, Daniel.Li escribió: ... This means you only have the C and POSIX locales, i.e. no UTF-8 locales. Try to install for example locale-base-en-us or some other language and see if that makes a difference. I've installed now in addition: locale-base-en-gb_2.6.1-r12_armv4t.opk glibc-binary-localedata-en-gb_2.6.1-r12_armv4t.opk but I still have no 'locale' command; the 1st of the above packages does not contain anything and the second some msg files: tar tzf data.tar.gz ./ ./usr/ ./usr/lib/ ./usr/lib/locale/ ./usr/lib/locale/en_GB/ ./usr/lib/locale/en_GB/LC_TIME ./usr/lib/locale/en_GB/LC_NUMERIC ./usr/lib/locale/en_GB/LC_NAME ./usr/lib/locale/en_GB/LC_IDENTIFICATION ./usr/lib/locale/en_GB/LC_MEASUREMENT ./usr/lib/locale/en_GB/LC_COLLATE ./usr/lib/locale/en_GB/LC_MONETARY ./usr/lib/locale/en_GB/LC_PAPER ./usr/lib/locale/en_GB/LC_CTYPE ./usr/lib/locale/en_GB/LC_MESSAGES/ ./usr/lib/locale/en_GB/LC_MESSAGES/SYS_LC_MESSAGES ./usr/lib/locale/en_GB/LC_ADDRESS ./usr/lib/locale/en_GB/LC_TELEPHONE but they make 'vala-terminal' come up with UTF8 support: r...@om-gta02:~# LANG=en_GB.UTF8 vala-terminal moko-terminal constructed and showing Spanish accented chars. Happy now! Thx a lot; matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e matthias.ap...@oclc.org - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Om2008.x] Terminal with UTF-8 support wanted
Try to generate locale youself. Something like localedef --no-archive -c -i es-ES -f UTF-8 es-ES.utf8 2009/3/2, Matthias Apitz g...@unixarea.de: Hello, I need in my FR a Terminal which can handle UTF-8 output; r...@om-gta02:~# DISPLAY=:0 export DISPLAY r...@om-gta02:~# LANG=es_ES.UTF-8 export LANG r...@om-gta02:~# openmoko-terminal2 (openmoko-terminal2:1887): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. moko-terminal constructed (openmoko-terminal2:1887): Vte-WARNING **: can not run /usr/libexec/gnome-pty-helper update_toolbar current font size for terminal is 5 on_idle on_idle_first_command analog for 'xterm'; Is there some way to get UTF-8 support? Thx matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e matthias.ap...@oclc.org - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community