I had the same problem. The interesting thing is in my laptop I've never had 
that problem and I had in my work desktop. Well, looking for informations I 
discovered that if I set the enviroment variable LC_ALL to my "pt_BR.UTF-8", 
the problem is solved.
I guess the method "toLocaleFormat(dateFormat)" is taking the wrong locale. 
Previously my LANGUAGE enviroment variables were:

LANG=pt_BR
LANGUAGE=pt_BR:pt:en
LC_CTYPE="pt_BR.UTF-8"
LC_NUMERIC="pt_BR.UTF-8"
LC_TIME="pt_BR.UTF-8"
LC_COLLATE="pt_BR.UTF-8"
LC_MONETARY="pt_BR.UTF-8"
LC_MESSAGES="pt_BR.UTF-8"
LC_PAPER="pt_BR.UTF-8"
LC_NAME="pt_BR.UTF-8"
LC_ADDRESS="pt_BR.UTF-8"
LC_TELEPHONE="pt_BR.UTF-8"
LC_MEASUREMENT="pt_BR.UTF-8"
LC_IDENTIFICATION="pt_BR.UTF-8"
LC_ALL=

The variable LC_ALL has the effects: "This variable determines the
values for all locale categories. The value of the LC_ALL environment
variable has precedence over any of the other environment variables
starting with LC_ (LC_COLLATE, LC_CTYPE, LC_MESSAGES, LC_MONETARY,
LC_NUMERIC, LC_TIME) and the LANG environment variable".

Well, I hope this helps all.

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

Title:
  Invalid UTF-8 in ~/.gtk-bookmarks breaks gnome-shell

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

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

Reply via email to