SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2010-02-24 05:27:51

johnraff
#!Drunkard
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 2,687
Website

HOW TO: Make Gedit autodetect SJIS Japanese encoding

Only of interest if you have to work with Japanese web pages maybe, as they tend to be in the sjis encoding. If you just click on the file Gedit shows garbage - you have to select the sjis encoding yourself every time, which slows things down a bit. However, for once Gnome has something to be said for it: Gedit is in the club, and you can change its behaviour with gconf. Run this command (you don't need sudo):

gconftool-2 -s /apps/gedit-2/preferences/encodings/auto_detected --type=list --list-type=string '[UTF-8,EUC-JP,ISO-2022-JP,SHIFT_JIS,CURRENT,ISO-8859-15]'

and sjis encoding will be automatically detected for you smile

found it here:
https://lists.ubuntu.com/archives/deskt … 22916.html
https://bugzilla.gnome.org/show_bug.cgi?id=309493

(Now if there's a way to do that with Geany too...)

Last edited by johnraff (2010-02-24 05:29:53)


John
--------------------
( a boring Japan blog , idle twitterings  and GitStuff )

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo