[maemo-users] No windows-1252 support?

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

 



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
https://maemo.org/bugzilla/show_bug.cgi?id=752
(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 
https://garage.maemo.org/scm/?group_id=41)
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




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux