Special characters don't appear in GNOME
Hello, I am trying to make – specifically Norwegian characters – appear properly. Right now they look like this:
http://i51.tinypic.com/mc7j3q.png when they should look like æ, ø & å. (Hope you can see the characters! :p) Characters like ü turns the same. This is a font that I downloaded called PT Sans. The letters I want are included, they just don't appear right in the GNOME environment, it seems. They work just fine in other applications, such as OOo Writer. I'm using Ubuntu 10.04. |
This looks like a tricky question. I've just examined the font, and there are no problems in it. Which applications are giving you the Cyrillic characters? And what do you get from entering the command "locale" in a terminal?
|
Thanks for your reply, I had almost given up...
I get these weird signs in 'the Gnome environment', if I can call it that, when PT Sans is set as Application font. As you see in the picture, all folder names containing æøå become like this. The same happens if I try to create a folder (or file, for that matter). It also occurs in Empathy. As for X-Chat: When the Application font overrules the font settings, I get weird characters there also. When I turned that off, however, and specifically chose PT Sans for it, I didn't get weird characters anymore. So, what all these have in common is that it is when PT Sans is set as a standard font I get these characters. Could it have something to do with the way I installed the font? First, I just put it in the .font folder in Home, then I did this: Quote:
Code:
locale |
Are this symbols look the same with different fonts?
If they are shown properly with other fonts, then it's internal encoding in PT Sans, which is corrupted. If they look alike in all other UTF fonts - then you should check, if your filesystem is kept in utf8 encoding. If it is not, then you can convert it in utf8 with convmv command. |
I haven't tried every other font. I don't know what differates 'UTF fonts' from other types of fonts, so I wouldn't know which ones to check. But as far as I know this is the only font this occurs with.
Also, I tried this for funsies: Changing the 'Window title' font to PT Sans, then opening a folder called "Blåbær". It showed correctly. So it seems to be a problem with the 'Application' font. |
There's nothing wrong with the font, as far as I can see. Fontforge loads it without protest and shows a standard encoding. I've installed it in .fonts, set it as Application font, created a folder with å in the name, and Nautilus displayed the character properly.
It's very strange that Latin 1 characters should appear as Cyrillic, even if you had the wrong locale, which you don't. So, it works with my version of Gnome but not yours, and your version of Gnome works with other fonts! Obviously there's some strange interaction going on, but it's beyond my skills to sort it out. You may just have to give up on PT sans. |
Hehe, all right. Thank you still, though! :)
|
I got it fixed now. I honestly don't know what fixed it, but I once again took the files from the download folder and put them in the .font folder. It now works.
Aaand I restarted, and now they're back to being weird characters again. xD What the hell. Well, tough crap, I guess. |
All times are GMT -5. The time now is 08:22 AM. |