PDA

View Full Version : [lubuntu] strange problem with leafpad and osmo



stavrosLinux
November 4th, 2011, 09:16 PM
Tried to import a google csv contacts file (greek language). Osmo displays garbage. Then tried to open it with leafpad, the same. Gedit displays it ok.

http://imagebin.ubuntu-gr.org/1320437629.png

stavrosLinux
November 5th, 2011, 12:27 PM
screenshot

gsmanners
November 5th, 2011, 01:18 PM
In the English version of Leafpad's Open dialog, you would look for a control called Character Coding. You probably need to change that to something (since I'm getting the impression that there's an encoding mismatch there or maybe there's some weird mark (http://en.wikipedia.org/wiki/Byte_order_mark) characters are showing up there)

amjjawad
November 5th, 2011, 01:46 PM
Tried to import a google csv contacts file (greek language). Osmo displays garbage. Then tried to open it with leafpad, the same. Gedit displays it ok.

http://imagebin.ubuntu-gr.org/1320437629.png

Hi,

I'll ask my Greek Friend to have a look at this. However, please check the other suggestion made earlier :)

Thanks!

P.S.
Check my signature - Lubuntu One Stop Thread. It's very helpful :)

TeoBigusGeekus
November 5th, 2011, 02:41 PM
You could try opening it with geany and go to Document>Set Encoding.
Experiment a bit with different encodings and see what osmo accepts.

amjjawad
November 5th, 2011, 02:46 PM
You could try opening it with geany and go to Document>Set Encoding.
Experiment a bit with different encodings and see what osmo accepts.

Thanks my friend :)

TeoBigusGeekus
November 5th, 2011, 02:47 PM
Thanks my friend :)

Anytime mate.

stavrosLinux
November 6th, 2011, 09:42 AM
In the English version of Leafpad's Open dialog, you would look for a control called Character Coding. You probably need to change that to something (since I'm getting the impression that there's an encoding mismatch there or maybe there's some weird mark (http://en.wikipedia.org/wiki/Byte_order_mark) characters are showing up there)

So, google exports contacts into google.csv, in UTF-16 little indian.

Osmo and leafpad don't "get it". Tried to change the encoding in leafpad but the result is the same.

I am covering all angles when I move to Lubuntu (from Ubuntu).
Since gedit works, and I dont use osmo, I am ok.

amjjawad
November 6th, 2011, 09:55 AM
Since gedit works, and I dont use osmo, I am ok.

You can install "gedit" into Lubuntu :)

It's a pain in the neck. Sometimes, I do have problem with encoding too and stuff.

vasa1
November 6th, 2011, 12:02 PM
I had a similar problem with leafpad in regular Ubuntu as well. I posted that here (http://ubuntuforums.org/showthread.php?t=1841762). I've stayed with gedit after that.