<<< Date Index >>>     <<< Thread Index >>>

Re: wrong charset (fwd)



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Wednesday, May 20 at 08:14 AM, quoth Jussi Peltola:
> On Wed, May 20, 2009 at 01:37:40AM -0300, Luis A. Florit wrote:
>>> On Saturday, May 16 at 10:54 AM, quoth Luis A. Florit:
>>>> My problem is with iso-8859-1. They seems to understand only UTF-8.
>>>
>>> Yup. Well, I guess at this point the question boils down to: what's 
>>> wrong with using UTF-8 for displaying things on the Nokia?
>> 
>> That ISO-8859-1 text files, 99% of my files, are shown as garbage...
>
> Even in vim? They shouldn't. If they are, your vim is broken or 
> misconfigured. With cat and other "dumb" tools this is to be expected, 
> of course, and then you have little choice except changing the terminal 
> character encoding to match your files, since you can't change the 
> locale (except to C, which should be iso-8859-1 and might even work to 
> make mutt speak iso-8859-1).

You could make an iso-8859-1 version of cat pretty easily if you have 
iconv installed. In bash syntax:

     alias icat='iconv -f iso-8859-1 -t utf-8'

~Kyle
- -- 
In any conversation where only one side may be argued, we 
instinctively assume that those who publicly defend the official 
position are motivated by ideology and not by an interest in truth. 
The outlawed position is then assumed to be true, and wins by default.
                                              -- Fr. Andrew Hamilton SJ
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iQIcBAEBCAAGBQJKE5M+AAoJECuveozR/AWeNYwQAJ3ai25gEsQx9JpBb+JS6uWF
lC5TTOFjXR7cnz2q9SnbuyiQ8dClljcDwrY3NHvJfPppuJOnTv4Js2KJMHFj338m
KqYQiF55SxQo0E2y6kcJCj9ZSm1Mlei5CUVTKaxTbMfnhmhcVuT9HU9oJUuT+DoL
KoT0EeqQ2J3gP0JI3sDU3idqN81Ip8nInX2s27io3yW1kQwPuNEJryFmL5B8Daoe
P/2RDQ4oDyuq2QB9Jp+lf7tNS238wO97Jbl7ionl449tb2mt4V6MUBdg1ubWTciu
ZOSb8WRp0Lw4uqbWmmJwHLvB3yxBV574IH4zR1Uerp8O8SsDNYaK2zSDVG2oDdJ1
NJ83qkn6IJUnXmeTWZOYio+pRqRHWURmU+1sdoSbUZ0PKo3e7bBurA2rg3m0hNRw
cxlmuoNBBLV/xqbngGRscD48FX1vrkkPAU/W6IiHxUQEQ4/bVnrJG5t8rhdYaRJD
zEZQ5Xor/zAl5Gl7J7dTdlz5aa+BvXd7Y+2d7TwdFzCfGkrWN0feICiDbqoQKNMx
e3JptrbHkJ2Ad3xve8O33Uw1nDaptLJ5KqVJIkOTRtPxMHk69cu7Lupls/EXAPJA
Pr3os3VQpW+2PX6lEfHw8zCEM2SAiiDFSb/wpg2CM4g5zz4Peus1fWrVWuhVMQ32
rGqdv7IDx+y2aYgfnb7q
=xsl+
-----END PGP SIGNATURE-----