Re: UTF-8' to 'ISO-8859-1' is not supported



On Thu, 2004-01-01 at 17:01 +0530, ramprasad wrote:
> Hi All,
> 
> I Have cross compiled  the GTK 2.2.4 for arm, when ever i run some 
> application i am getting following error. Can anybody tell me what is 
> missing in my tool chain or in my compilation.
> 
> 
> "(calendar:1270): Gdk-WARNING **: Error converting from UTF-8 to STRING: 
> Conversion from character set 'UTF-8' to 'ISO-8859-1' is not supported"
> 
> 
> Thanks in advance,
> Ramprasad

It sounds like the system's iconv does not support that conversion. GNU-
libc systems should have

/usr/lib/gconv/ISO8859_1.so

and a line in /usr/lib/gconv/gconv-modules which reads something like:

"module  INTERNAL                ISO-8859-1//            ISO8859-1
1"

"INTERNAL" is an alias for UTF-8.

Please note that gconv-modules should not be edited, it is part of glibc
-- so if you're using a glibc-based system, this is either a bug in the
package or the installation.

I'm not sure how exactly how the ARM arch operates, though. Perhaps this
is an 'optimization' bug to save space by not including the ISO-8859-1 -
> UTF-8 converter?

The simplest solution is to set the default locale to use UTF-8, so no
conversions are performed between the system and GTK+ (which uses UTF-8
internally) -- though some things like IRC and Mozilla may break w/o an
ISO-8859-1 -> UTF-8 converter. The proper solution is to both set the
default locale encoding to UTF-8 and install the proper converter.

-- 
Peace,

    Jim Cape
    http://ignore-your.tv

    "It is literally true that, like Christianity, Socialism
     has conquered the world by defeating itself."
        -- Alexander Berkman, ABC of Anarchism

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]