Filenames cannot contain Hindi characters

Bug #63700 reported by Aniruddha Shankar
4
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Low
Unassigned

Bug Description

I installed Kubuntu using the graphical LiveCD installer. Right at boot time, I pressed F2 to choose the language and chose Hindi (which showed up garbled, but that's another bug for another day).

I installed the system and chose Hindi as the default language.

However, if I save a file with hindi characters in the filename, the file shows up garbled with a name such as सà¥à¤¨à¥à¤ªà¤¶à¥à¤1.png .

I checked if the NLS utf-8 module is loaded and it is:

techsamvadak@prabhat-laptop:~/Desktop$ lsmod | grep utf
nls_utf8 2176 2

I then checked the locale and got the following output:

techsamvadak@prabhat-laptop:~$ locale
LANG=hi_IN
LANGUAGE=hi_IN:hi:en_IN:en_GB:en
LC_CTYPE="hi_IN"
LC_NUMERIC="hi_IN"
LC_TIME="hi_IN"
LC_COLLATE="hi_IN"
LC_MONETARY="hi_IN"
LC_MESSAGES="hi_IN"
LC_PAPER="hi_IN"
LC_NAME="hi_IN"
LC_ADDRESS="hi_IN"
LC_TELEPHONE="hi_IN"
LC_MEASUREMENT="hi_IN"
LC_IDENTIFICATION="hi_IN"
LC_ALL=

I then did locale -a to show all installed locales.

C
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IN
en_IN.utf8
en_NZ.utf8
en_PH.utf8
en_SG.utf8
en_US.utf8
en_ZA.utf8
en_ZW.utf8
hi_IN
hi_IN.utf8
POSIX

Seeing that the locale did not have support for unicode, I went to /var/lib/locales/supported.d and edited local to include hi_IN.UTF-8 UTF-8

I then regenerated the locales by doing sudo dpkg-reconfigure --force locales

Now, locale -a also shows me

hi_IN.utf8

However, despite ensuring that Hindi was chosen in the language settings tool, the locale remains hi_IN. I apprehend that this is the root of the problem.

When Hindi is chosen at boot or during the ubiquity language choice screen, the default locale should be generated and set to hi_IN.utf8.

Further, how does one change the running locale ?

Revision history for this message
Aniruddha Shankar (kream) wrote :

Oops, made a mistake when filling out the bug - the first time i ran locale -a it didn't show me

hi_IN.utf8

Revision history for this message
Daniel Holbach (dholbach) wrote :

Is the bug resolved for you now?

Revision history for this message
Aniruddha Shankar (kream) wrote : Re: [Bug 63700] Re: Filenames cannot contain Hindi characters

Daniel Holbach wrote:
> Is the bug resolved for you now?
>

absolutely not. I've resorted to rolling my own custom
LiveCDs/InstallCDs for Hindi installs. It's a simple matter of the
locale not being a UTF8 one by default. Try it yourself and see - run a
LiveCD, press F2, select hindi (it'll look like हिन्दी), boot and install
- i'm pretty sure that even the LiveCD environment does not have
hi_IN.UTF8, just hi_IN.

thanks for responding,

Aniruddha Shankar

> ** Changed in: Ubuntu
> Importance: Undecided => Low
> Status: Unconfirmed => Needs Info
>
>

Revision history for this message
अशोक कुमार (ashok-kumar) wrote :

I am not sure, whether what I am writing is relevant or not, but the problem relates to whole of Ubuntu 6.10.

I upgraded my Ubuntu 6.06 by 6.10 by gksudo command as given in the alternate CD. I used to type regularly in Hindi in 6.06, but in the upgraded version I am not able to proceed beyond one letter after which only Backspace key seems to work.

Initially I thought that this is a problem of OpenOffice, but the same observation was found in gedit also.

Fresh installation of Ubuntu 6.10 from alternate CD is free from this problem.

Any idea, what needs to be done? I am otherwise waiting for 7.04 which will have its own share of bugs.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Does this still happen in Feisty?

Revision history for this message
Daniel Holbach (dholbach) wrote :

As described in the previous comments, your report lacks the information we need to investigate the problem further. We'll close this report for now - please reopen it if you can give us the missing information.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.