You are not logged in.

#1 2009-07-31 12:25:06

Fungyo
Member
Registered: 2009-04-13
Posts: 42

character encoding issue

hi,
I have a file where in Dolphin and Konqueror the " ' " in "it's" shows up as a black diamond with a question mark inside and in bash it just shows up as a question mark. I successfully renamed the file using the mv command but dolphin and konqueror both gave an error that the file does not exist and showed the " ' " as  e.g its instead of it's or Im for I'm
Can anyone suggest what could cause this and how to prevent it?
I have LOCALE="en_AU.utf8" set in my /etc/rc.conf

thanks

Offline

#2 2009-07-31 13:51:25

putte_xvi
Member
From: Sweden
Registered: 2009-04-10
Posts: 22

Re: character encoding issue

"" is apparently the ISO-8859-1 representation of the UTF-8 encoding of the Unicode replacement character which is used to represent invalid/unrepresentable characters.

Most likely the filename was encoded in Windows-1252 but interpreted as ISO-8859-1 when converted to Unicode. Character 146 is a single-quote in Windows-1252 but invalid in ISO-8859-1.

Offline

#3 2009-07-31 23:01:26

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: character encoding issue

Hello Fungyo!

Character encoding related thread too:
http://bbs.archlinux.org/viewtopic.php?id=76582

Hope it has some usefull information for you.

Offline

#4 2009-07-31 23:10:58

Fungyo
Member
Registered: 2009-04-13
Posts: 42

Re: character encoding issue

thanks for the reply. So it looks like, I haven't mis-configured, just got unlucky where I received a file which had been encoded with a non-standard encoding.

Offline

#5 2009-07-31 23:20:28

arkham
Member
From: Stockholm
Registered: 2008-10-26
Posts: 516
Website

Re: character encoding issue

Usually you can specify the enconding of the partitions you are mounting.


"I'm Winston Wolfe. I solve problems."

~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~

Offline

#6 2009-08-03 08:45:01

Fungyo
Member
Registered: 2009-04-13
Posts: 42

Re: character encoding issue

thanks for all the info people. I will look into the issues some other time and post my findings here. So far I haven't had any other encoding issues to deal with and I have other things to do.

Offline

Board footer

Powered by FluxBB