Wrong charcode in indicator-applet
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Thunderbird Indicator |
New
|
Undecided
|
Unassigned |
Bug Description
I use Thunderbird with Russian localization. When I received mail-message, indicator-applet show me ">40IB (mymail@server) (1)". First word is "Inbox" in wrong char-code in russian. My Inbox folder in Thunderbird have name in Russian language. I corrected file overlay.js for Unicode encoding. Now it work.
I changed function indicatorLabel:
indicatorLabel: function (folder) {
var string=
if(typeof(
{
string = string.
var utftext = "";
for (var n = 0; n < string.length; n++)
{
var c = string.
if (c < 128)
{
utftext += String.
}
else if((c > 127) && (c < 2048))
{
utftext += String.
utftext += String.
}
else
{
utftext += String.
utftext += String.
utftext += String.
}
}
}
return utftext +" ("+folder.
}