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

From: Nagoya, Japan
Registered: 2009-01-07
Posts: 3,804

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: … 22916.html

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

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

John     Please help us keep your forums manageable.   Don't Break Debian
( a boring Japan blog , idle twitterings  and GitStuff )
#! forum moderator


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