[vlc-devel] Re: Non-western character encoding

Rémi Denis-Courmont rem at videolan.org
Sun Mar 12 15:21:32 CET 2006


Le Dimanche 12 Mars 2006 14:26, Måns Rullgård a écrit :
> Unfortunately, the Asian scripts all commonly use several encodings.
> Deciding on a single encoding to use would be a mistake.

I don't expect selecting a single encoding to be a good solution. But I 
would expect it to be a better solution than what we currently have, 
i.e.:

- if the local character encoding is UTF-8, use CP1252,
- if not, use the local character encoding.

The current approach might work almost fine on Windows, but it 
definitely sucks on Linux and Mac OS X. What I propose is changing the 
single encoding associated with each country to something more likely 
to work. It still sucks in Asia, but it sucks way less.

For instance, using Shift-JIS by default in Japan is probably way more 
better than EUC-JP (when LANG=ja_JP), or even worst CP1252 (when 
LANG=ja_JP.UTF-8).

I am fully aware it will still break if a Morrocan tries to use French 
subtitles, but still.

-- 
Rémi Denis-Courmont
http://www.simphalempin.com/home/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20060312/5be8ec98/attachment.sig>


More information about the vlc-devel mailing list