firefox-gmail-manager-ng icon indicating copy to clipboard operation
firefox-gmail-manager-ng copied to clipboard

Serious bug with Unicode encoding

Open iHastr opened this issue 12 years ago • 1 comments

Since a version Gmail Manager 0.6.4.1 there was a problem - wrong Unicode encoding when using the Cyrillic font. See a screenshot:

http://img341.imageshack.us/img341/1138/25439395.png

http://img94.imageshack.us/img94/3002/48555200.png

In your forked version Gmail Manager NG 0.6.5.2 this problem is also exists! :(

In oldest version 0.6.4 everything was fine! This problem is easily solved. Here's the code from there... Open a file "chrome\gmanager.jar\content\overlayToolbarTooltip.js" and change the following lines:

Line 50: label.setAttribute("value", aValue); Line 69: el = this._createLabel(gmanager_Utils.toUnicode(aAccount.alias)); Line 121: elRow.appendChild(this._createLabel(gmanager_Utils.toUnicode(label.name))); Line 164: el = this._createLabel(gmanager_Utils.toUnicode(snippets[i].from) + " > " + gmanager_Utils.toUnicode(snippets[i].subject)); Line 170: el = this._createLabel(gmanager_Utils.toUnicode(snippets[i].date));

Thus it was in original version 0.6.4

I changed these lines and after that everything works fine! See my post here: http://forums.mozillazine.org/viewtopic.php?p=11897735#p11897735

Here are screenshots after adding these lines http://img135.imageshack.us/img135/2073/70787901.png

But name with Cyrillic characters displayed incorrectly. http://img820.imageshack.us/img820/9996/13614779.png

Please fix!

iHastr avatar Apr 27 '12 17:04 iHastr

I updated the Russian translation (ru-RU). Translated all new strings in Gmail Manager NG 0.6.5.2 and corrected a few typos and inaccuracies in Russian locale. See a screenshot... I also fixed a problem with Unicode encoding! http://img339.imageshack.us/img339/1684/85237264.png

Here is my corrected file "gmail_manager_ng-0.6.5.2-fx+sm.xpi" http://www.mediafire.com/?x8qb9fki9t9n9g2

Please download and see it! Especially the file "chrome\gmanager.jar\content\overlayToolbarTooltip.js"

Thanks for your fork! Excellent! :)

P.S. What does the NG? Next Generation? ;)

iHastr avatar Apr 27 '12 17:04 iHastr