I think the language2locale script does the right thing:

$ /usr/share/language-tools/language2locale ja_JP
ja_JP.UTF-8
$ /usr/share/language-tools/language2locale ja
ja_JP.UTF-8
$ 

Two thoughts (haven't looked at the g-c-c code at this time):

* If the locale has not (yet) been generated, i.e. is not included in a
'locale -a' output, language2locale will just return a newline. Can it
be that the script is called prematurely?

* Can it possibly be a "UTF-8" vs. "utf8" confusion?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1556684

Title:
  gnome-control-center.real crashed with SIGSEGV in g_utf8_validate()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-gnome/+bug/1556684/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to