Well, I'd say an ideal solution would be for gedit to detect the
encoding by itself, and thus avoid all these tricky configurations. I've
experimented a bit with universalchardet, which comes with Mozilla
project, and its separate library libuchardet. I found it to be smart
enough in most cases. Attached is a preliminary patch I did to support
gedit with uchardet, for preliminary early preview.

I'll come up with a testing package a bit later.

** Patch added: "uchardet.diff"
   
https://bugs.launchpad.net/ubuntu/oneiric/+source/gedit/+bug/819714/+attachment/3052309/+files/uchardet.diff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/819714

Title:
  Can not display GB2312/GB18030 encoded chinese files

To manage notifications about this bug go to:
https://bugs.launchpad.net/gedit/+bug/819714/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to