[maemo-developers] [maemo-developers] Re: [maemo-users] No windows-1252 support?

From: Olivier ROLAND olivier.roland at laposte.net
Date: Wed Sep 20 00:33:14 EEST 2006
Marius Gedminas a écrit :
> Sometimes I get to edit text files encoded in Windows-1252 (a Latin-1
> variant commonly used on Windows systems).  I was very surprised when I
> discovered that iconv on the 770 does not support this encoding.
>   iconv -l
> lists a bunch of names in the 125x series, except for 1252.  I suppose
> I'd have to recompile libc6 to get cp1252 support?
> I've compiled vim 7.0 with the +encodings feature, but it uses the
> system iconv library, so it doesn't support cp1252 either.
> What is somewhat more "fun": recode is present on the 770, and recode -l
> claims to support 1252, but
>   recode 1252..UTF-8 filename.txt
> instead of recoding the text, erases it completely.  Bug filed:
> https://maemo.org/bugzilla/show_bug.cgi?id=766
> Marius Gedminas
I have already filed a bug for that problem on 2006-08-30 and no 
response yet
(feel free to vote for it)

You can use the same hack  I use for Streamtuner
(feel free to look how I deal with that in SVN 
This hack will make your binary one mega bigger (size of 
libiconv_plug.so) ...
I hope that in the next release libc6 will be recompiled with 1252 
support to avoid bad hack like this.

I cc this to maemo-developers which is a better place to talk about that.

Olivier ROLAND

More information about the maemo-developers mailing list