[SOLVED] Missing unicode support

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

[SOLVED] Missing unicode support

Postby onikage » Nov 23rd, '12, 10:54

Hello.
I was saving some documents today which weren't in English I noticed that their names didn't display correctly, probably to partially missing unicode support.

Screen 1: http://prikachi.com/images/624/5524624I.png (The link next to the cursor and a document that can be seen in the file browser)

Screen 2: http://prikachi.com/images/625/5524625X.png (Whole page unreadable)

Any ideas ?
Last edited by onikage on Nov 25th, '12, 02:15, edited 1 time in total.
onikage
 
Posts: 75
Joined: Nov 15th, '12, 18:07

Re: Missing unicode support

Postby filip » Nov 23rd, '12, 12:06

I miss some details how did you install and if you added support for your language?
filip
 
Posts: 478
Joined: May 4th, '11, 22:10
Location: Kranj, Slovenia

Re: Missing unicode support

Postby onikage » Nov 23rd, '12, 12:15

filip wrote:I miss some details how did you install and if you added support for your language?


I installed from DVD, not sure whether I added support for my language or not.
onikage
 
Posts: 75
Joined: Nov 15th, '12, 18:07

Re: Missing unicode support

Postby filip » Nov 23rd, '12, 12:24

onikage wrote:I installed from DVD, not sure whether I added support for my language or not.

You should add locales-xx where xx is abbreviation for your language.
filip
 
Posts: 478
Joined: May 4th, '11, 22:10
Location: Kranj, Slovenia

Re: Missing unicode support

Postby onikage » Nov 23rd, '12, 13:04

filip wrote:
onikage wrote:I installed from DVD, not sure whether I added support for my language or not.

You should add locales-xx where xx is abbreviation for your language.


Says, It's already installed.
onikage
 
Posts: 75
Joined: Nov 15th, '12, 18:07

Re: Missing unicode support

Postby filip » Nov 23rd, '12, 13:23

Can you post output from locale in CLI?
filip
 
Posts: 478
Joined: May 4th, '11, 22:10
Location: Kranj, Slovenia

Re: Missing unicode support

Postby onikage » Nov 23rd, '12, 14:39

Code: Select all
LANG=en_US
LC_CTYPE=en_US
LC_NUMERIC=bg_BG
LC_TIME=en_US
LC_COLLATE=en_US
LC_MONETARY=bg_BG
LC_MESSAGES=en_US
LC_PAPER=bg_BG
LC_NAME=bg_BG
LC_ADDRESS=bg_BG
LC_TELEPHONE=bg_BG
LC_MEASUREMENT=bg_BG
LC_IDENTIFICATION=bg_BG
LC_ALL=


I'm not sure it's locale related. Some unicode characters are also missing like - TM, R, Copyright etc.
onikage
 
Posts: 75
Joined: Nov 15th, '12, 18:07

Re: Missing unicode support

Postby martinw » Nov 24th, '12, 00:36

What font are you using? Some fonts provide less characters than others.
martinw
 
Posts: 608
Joined: May 14th, '11, 10:59

Re: Missing unicode support

Postby onikage » Nov 24th, '12, 02:12

How do I check ?
onikage
 
Posts: 75
Joined: Nov 15th, '12, 18:07

Re: Missing unicode support

Postby martinw » Nov 24th, '12, 12:14

Which Desktop Environment are you using?
martinw
 
Posts: 608
Joined: May 14th, '11, 10:59

Re: Missing unicode support

Postby onikage » Nov 24th, '12, 12:18

xfce4
onikage
 
Posts: 75
Joined: Nov 15th, '12, 18:07

Re: Missing unicode support

Postby martinw » Nov 25th, '12, 01:23

In the main menu, select Settings->Appearance, then select the Fonts tab to see what the default font is.

If you change the default font, does the place you are seeing problems with unicode characters change to a different font?
martinw
 
Posts: 608
Joined: May 14th, '11, 10:59

Re: Missing unicode support

Postby onikage » Nov 25th, '12, 01:34

martinw wrote:In the main menu, select Settings->Appearance, then select the Fonts tab to see what the default font is.

If you change the default font, does the place you are seeing problems with unicode characters change to a different font?


The default font was "Sans".
Yes, when I change the font, the place where I am seeing problems also changes, but only font-wise, the characters are still unreadable.
onikage
 
Posts: 75
Joined: Nov 15th, '12, 18:07

Re: Missing unicode support

Postby martinw » Nov 25th, '12, 01:47

OK, I've done a bit of experimentation, and I think your problem is due to your locale setting. For comparison, I get:
Code: Select all
% locale
LANG=en_GB.UTF-8
LC_CTYPE=en_GB.UTF-8
LC_NUMERIC=en_GB.UTF-8
LC_TIME=en_GB.UTF-8
LC_COLLATE=en_GB.UTF-8
LC_MONETARY=en_GB.UTF-8
LC_MESSAGES=en_GB.UTF-8
LC_PAPER=en_GB.UTF-8
LC_NAME=en_GB.UTF-8
LC_ADDRESS=en_GB.UTF-8
LC_TELEPHONE=en_GB.UTF-8
LC_MEASUREMENT=en_GB.UTF-8
LC_IDENTIFICATION=en_GB.UTF-8
LC_ALL=

The .UTF-8 suffix is the important bit - that enables Unicode support.

If you start the Mageia Control Centre, go to the "System" tab, select the "Manage localization for your system" option, and select "Advance", you should see a tickbox labelled "Old compatibility (non UTF-8) encoding". Make sure this is not ticked, then proceed through the other dialogues selecting the other options as appropriate.

By ticking that box, I could reproduce the problems you are seeing.
martinw
 
Posts: 608
Joined: May 14th, '11, 10:59

Re: Missing unicode support

Postby onikage » Nov 25th, '12, 02:15

You nailed it. Thanks so much.
onikage
 
Posts: 75
Joined: Nov 15th, '12, 18:07


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest