I am having trouble getting filenames containing French/Spanish/etc diacritical characters to display correctly in FC4. In place of any 'accented' characters in the filename are '?'.
Looking into the situation a bit revealed that using the en_US.UTF-8 locale (which I believe I am) should properly display these characters, however it is not.
The following is the contents of my /etc/sysconfig/i18n file:
LANG="en_US.UTF-8" SYSFONT="latarcyrheb-sun16" SUPPORTED="en_US.UTF-8:en_US:en" Any suggestions? I am at somewhat of a loss...
Thanks in advance!
On Wed, 2007-06-27 at 10:16 +0200, Jamicide wrote:
I am having trouble getting filenames containing French/Spanish/etc diacritical characters to display correctly in FC4. In place of any 'accented' characters in the filename are '?'.
Looking into the situation a bit revealed that using the en_US.UTF-8 locale (which I believe I am) should properly display these characters, however it is not.
That sets the system up. But is your terminal, also, set the same way? If you're using gnome-terminal, there's menu options for the character encoding. KDE's terminal has something similar, though I don't recall what they called it.
Thanks for your response Tim. After poking around some more on the forums I realized I wasn't asking exactly the right question. I did change my terminal settings however as per your suggestion!
I have a bunch of files on my Fedora box that I've copied over from a Windows machine. Some of the filenames contain diacritical characters (French accented characters for example). I'm trying to read these files in to a Java app, but the app both interprets the filename incorrectly (when compared to the Windows counterpart) and fails to load in the file.
As an example, it displays what should be a 'é' as the square box.
Java grabs the locale from the system, and it believes it to be 'UTF-8' on Linux and 'Cp1252' on Windows. Also, even after changing my console to expect UTF-8 encoded characters, it still does not display the characters correctly.
Thanks again for your time!
I think I may have answered my own question with that last post... I have to convert the filenames from Cp1252 to UTF-8?
This seems to have fixed it! I downloaded the convmv package and converted the filenames. They now display properly and are read correctly into my Java app.
Thanks for your help!