OESF Portables Forum

Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => X/Qt => Topic started by: ShiroiKuma on December 19, 2004, 05:04:35 pm

Title: How To Set The Locale To Japanese
Post by: ShiroiKuma on December 19, 2004, 05:04:35 pm
Hi:

I want to do the following: browsing the web fith firefox save some Japanese webpages with their title as the filename, i.e. using Kanji in the filenames.

For this I thought you need to set the locale to JP UTF8.

I have the glibc-locale-ja-utf8 and glibc-locale-ja-eucjp packages installed.

Then I tried to do
Code: [Select]
export LC_ALL=ja_JP.utf8and get the following error:
Code: [Select]
bash: loadlocale.c:221: _nl_load_locale: Assertion `idx % __alignof__ (u_int32_t) == 0' failed.
Aborted

What is the problem?

When I try
[CODE]export LC_ALL=ja_JP.eucJP
Quote
I get no error but it saves the file as garbage, not with the Japanese file name.

I had this working under full debian on the Z by setting the locale to Japanese, so know it can be done.

Why do I get the above error though? What can I do about it?