You are not logged in.

#1 2013-02-08 23:57:34

Mihael
Member
From: Croatia
Registered: 2013-02-08
Posts: 4

Encoding problem with CP1250 (windows-1250)

So here is a picture of what is wrong. The only editor that opens normally is jedit. gedit, vim, libreoffice, all the "same" as you can see.

screenshot-from-2013-02-.jpg

I've set in /etc/locale.gen

hr_HR.UTF-8 UTF-8 
hr_HR ISO-8859-2 
hr_HR CP1250

locale-gen - everything goes fine, but it doesn't work.

In windows, ofc, everything is ok. I used to open in notepad and save it as UTF-8 so I can open it normally on my LG TV. When I do the same in gedit, it doesn't work.

Help please

Last edited by Mihael (2013-02-09 00:00:51)

Offline

#2 2013-02-09 00:02:35

bohoomil
Banned
Registered: 2010-09-04
Posts: 2,377
Website

Re: Encoding problem with CP1250 (windows-1250)

That's what I do:

iconv -f CP1250 -t UTF8 in.txt > out.txt

:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#3 2013-02-09 00:14:43

Mihael
Member
From: Croatia
Registered: 2013-02-08
Posts: 4

Re: Encoding problem with CP1250 (windows-1250)

Ok. Tnx

I managed to get gedit working fine.

dconf - org- gnome - gedit - preferences - encodings and set auto-detected

['UTF-8', 'WINDOWS-1250', 'ISO-8859-2', 'UTF-16']

Offline

Board footer

Powered by FluxBB