Re: [gedit-list] How to change default encoding when saving?



On Sat, Feb 12, 2005 at 10:57:45AM +0100, Paolo Maggi wrote:
> On Fri, 2005-02-11 at 19:47 +0100, Karol Kreński wrote:
> 
> >Hi,
> >
> >Is there a way to change the default encoding from UTF-8 to ISO-8895-2
> >in "save file" dialog? Sounds like an easy task, but I couldn't figure
> >it out.  I managed to add more encodings to dialog, but UTF-8 is always
> >default.
> 
> 
> Which is your default locale? (run 'locale' to get it)
> IIRC, the default locale should be the default one.
Nope, it's not the default. UTF-8 is always there and we tried to strace
the configs, rpm -ql gedit2 and grep thru whole gedit. The option to
choose the default should definately be there, the editor is nice, but
since it's too early for UTF-8 everywhere we need to use our locale.

[mimooh wszafie mimooh]$ locale
LANG=pl_PL
LC_CTYPE="pl_PL"
LC_NUMERIC="pl_PL"
LC_TIME="pl_PL"
LC_COLLATE="pl_PL"
LC_MONETARY="pl_PL"
LC_MESSAGES="pl_PL"
LC_PAPER="pl_PL"
LC_NAME="pl_PL"
LC_ADDRESS="pl_PL"
LC_TELEPHONE="pl_PL"
LC_MEASUREMENT="pl_PL"
LC_IDENTIFICATION="pl_PL"
LC_ALL=
[mimooh wszafie mimooh]$ rpm -q gedit2
gedit2-2.8.2-2

Karol



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]