indicator-datetime: calendar "[Invalid UTF-8]" (encoding problem)

Bug #874755 reported by Paulo Cheadi Haddad Filho
152
This bug affects 34 people
Affects Status Importance Assigned to Milestone
Indicator Date and Time
Expired
Medium
Unassigned
Ubuntu Translations
Expired
High
Unassigned
indicator-datetime (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Firstly, must say that I totally guess that this is the problematic package.

I'm Brazilian, so I'm using the PT-br version. I didn't notice this before today, so I'm not sure if it was caused by some update or what.

I usually use the datetime indicator with full time (hh:mm:ss) and date (weekday, month, date). Surprisingly, now it's showing the texts as you can see on the screenshot I'm sending together, and it's obviously wrong.

At the bar, where should be the current date-time as I said I configured for, it's "[Invalid UTF-8]". I did some testing and found out that it's weekday fault (now it's Saturday, or "Sábado" with a acuted in Portuguese).

Above the calendar, there's a "Label Empty". I don't know what should be there.

And inside the calendar, on Saturday column it can be read "(null)".

As a programmer, I think it's not a simple translation fault, so I did this report.

Best regards to you all! Good work! =)

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: indicator-datetime 0.3.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
Date: Sat Oct 15 00:29:24 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
SourcePackage: indicator-datetime
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Paulo Cheadi Haddad Filho (paulochf) wrote :
Revision history for this message
Paulo Cheadi Haddad Filho (paulochf) wrote :

Forgot to mention that inside the calendar, the last column "(null)" must be "Sáb", from "Sábado" (Saturday in Portuguese).

o/

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in indicator-datetime (Ubuntu):
status: New → Confirmed
Revision history for this message
Thiago Lima de Castro (tlcastro01) wrote :

tô com preguiça de escrever em inglês.
dá pra resolver o problema temporariamente e de maneira infeliz se retirar o dia da semana do calendário.

summary: - Wrong text showing (encoding problem)
+ calendar "[Invalid UTF-8]" (encoding problem)
Revision history for this message
Paulo Cheadi Haddad Filho (paulochf) wrote : Re: calendar "[Invalid UTF-8]" (encoding problem)

Yep, I had turned off the weekday option already. =)

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

Medium: a moderate impact on a core application

Changed in indicator-datetime (Ubuntu):
importance: Undecided → Medium
Revision history for this message
aDrIanO (adrianolinux) wrote :

I alread have this problem.
I noticed in Users configuration tool that Ubuntu 11.10 is using iso8859-1 as default encoding for pt_BR locale.
I fixed the "Invalid UTF-8" problem changing the encoding by adding:

LANG="pt_BR.UTF-8"
LANGUAGE="pt_BR.UTF-8:pt:en"
LC_ALL="pt_BR.UTF-8"

in /etc/environment.

I would like to know if there is a way to change/install the locale pt_BR.UTF-8 using the graphic interface.

Revision history for this message
Paulo Cheadi Haddad Filho (paulochf) wrote :

Just realized: just booted Ubuntu and went to update-manager to update packages, if any. There were some: checked them all and clicked install.

When Ubuntu asked my password, above the text field was "[Invalid UTF-8]".

I wonder if this problem isn't system-wide...

Revision history for this message
Fábio Nogueira (fnogueira) wrote :

Try:

1. Edit /var/lib/locales/supported.d/local

      Add (or not):

      pt_BR UTF-8

2. Edit /etc/default/locale:

      Add (or change):

      LANG="pt_BR.UTF-8"

3. Execute:

     sudo locale-gen -purge

     and

     sudo dpkg-reconfigure locales

Restart... and done!

In my Desktop.. everything Ok!

Fábio Nogueira
Salvador - Bahia - Brasil

Revision history for this message
Matthew Paul Thomas (mpt) wrote :

Paulo, the problem with the password prompt is 872805.

Revision history for this message
Matthew Paul Thomas (mpt) wrote :

(Bug 872805, that is.)

Revision history for this message
Sidney Lins (sdlins) wrote :

Same problem here.

Revision history for this message
Caio Cesar (caiocesards) wrote :

Fábio Nogueira,

Your solution solved my problem! Thank you.

Revision history for this message
Helder (he7d3r) wrote :

> When Ubuntu asked my password, above the text field was "[Invalid UTF-8]".

Same problem here.

Revision history for this message
Edvaldo de Souza Cruz (edvaldoscruz) wrote :

Comigo aconteceu agora, quando atualizei hoje e só voltou a funcionar normalmente, quando fiz esses procedimentos abaixo:

1) Pressione: Ctrl+Alt+T
2) Digite: sudo gedit /etc/environment
3) Copie e cole essas linhas:

   LANG="pt_BR.UTF-8"
   LANGUAGE="pt_BR.UTF-8:pt:en"
   LC_ALL="pt_BR.UTF-8"

4) Salve o documento e reinicie seu computador e pronto, ir-lhe-à funcionar redondo novamente.

***

Happened to me now, when upgraded today and only returned to work normally, when I made these the following:

1) Press: Ctrl + Alt + T
2) Type: sudo gedit / etc / environment
3) Copy and paste these lines:

   LANG="pt_BR.UTF-8"
   LANGUAGE="pt_BR.UTF-8:pt:en"
   LC_ALL="pt_BR.UTF-8"

4) Save the document and restart your computer and presto, you go to work round again.

Gabor Kelemen (kelemeng)
Changed in ubuntu-translations:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Ken Pratt (kenpratt) wrote :

I use the English language (en_US.UTF-8) and tried the above solution (reproduce below) and it did not work. I am using the baseline as of 01/24/2012 (fully updated).

sudo locale-gen -purge
sudo dpkg-reconfigure locales
Reboot and log-in.

Still get [Invalid UTF-8]

Olli Ries (ories)
Changed in indicator-datetime:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Hendrik Schrieber (hennekn) wrote :

Is this still a problem in Precise or above?

summary: - calendar "[Invalid UTF-8]" (encoding problem)
+ indicator-datetime: calendar "[Invalid UTF-8]" (encoding problem)
Revision history for this message
Charles Kerr (charlesk) wrote :

Is this still a problem in Precise or above?

Changed in indicator-datetime:
status: Confirmed → Incomplete
Changed in ubuntu-translations:
status: Triaged → Incomplete
Changed in indicator-datetime (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
faguirre (rodriguesaguirre) wrote : Re: [Bug 874755] Re: indicator-datetime: calendar "[Invalid UTF-8]" (encoding problem)

No, the problem was solved in Precise and in Saucy.

2014-03-26 0:50 GMT-03:00 Charles Kerr <email address hidden>:

> Is this still a problem in Precise or above?
>
>
> ** Changed in: ubuntu-translations
> Status: Triaged => Incomplete
>
> ** Changed in: indicator-datetime (Ubuntu)
> Status: Confirmed => Incomplete
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (875220).
> https://bugs.launchpad.net/bugs/874755
>
> Title:
> indicator-datetime: calendar "[Invalid UTF-8]" (encoding problem)
>
> Status in The Date and Time Indicator:
> Incomplete
> Status in Ubuntu Translations:
> Incomplete
> Status in "indicator-datetime" package in Ubuntu:
> Incomplete
>
> Bug description:
> Firstly, must say that I totally guess that this is the problematic
> package.
>
> I'm Brazilian, so I'm using the PT-br version. I didn't notice this
> before today, so I'm not sure if it was caused by some update or what.
>
> I usually use the datetime indicator with full time (hh:mm:ss) and
> date (weekday, month, date). Surprisingly, now it's showing the texts
> as you can see on the screenshot I'm sending together, and it's
> obviously wrong.
>
> At the bar, where should be the current date-time as I said I
> configured for, it's "[Invalid UTF-8]". I did some testing and found
> out that it's weekday fault (now it's Saturday, or "Sábado" with a
> acuted in Portuguese).
>
> Above the calendar, there's a "Label Empty". I don't know what should
> be there.
>
> And inside the calendar, on Saturday column it can be read "(null)".
>
> As a programmer, I think it's not a simple translation fault, so I did
> this report.
>
>
> Best regards to you all! Good work! =)
>
> ProblemType: Bug
> DistroRelease: Ubuntu 11.10
> Package: indicator-datetime 0.3.1-0ubuntu1
> ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
> Uname: Linux 3.0.0-12-generic x86_64
> ApportVersion: 1.23-0ubuntu3
> Architecture: amd64
> Date: Sat Oct 15 00:29:24 2011
> InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64
> (20111012)
> SourcePackage: indicator-datetime
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/indicator-datetime/+bug/874755/+subscriptions
>

--
Att.
Fernando Rodrigues Aguirre.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Indicator Date and Time because there has been no activity for 60 days.]

Changed in indicator-datetime:
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Ubuntu Translations because there has been no activity for 60 days.]

Changed in ubuntu-translations:
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for indicator-datetime (Ubuntu) because there has been no activity for 60 days.]

Changed in indicator-datetime (Ubuntu):
status: Incomplete → Expired
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.