[Goodies-dev] [Bug 3818] New: weekdays in Russian are displayed ugly in forecast tab

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Fri Jan 25 18:06:27 CET 2008


DO NOT REPLY TO THIS EMAIL.  Also, do not reply via email to the person
whose email is mentioned below.  To comment on this bug, please visit:
http://bugzilla.xfce.org/show_bug.cgi?id=3818

           Summary: weekdays in Russian are displayed ugly in forecast tab
           Product: Xfce Panel Plugins
           Version: unspecified
          Platform: PC (x86)
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: weather
        AssignedTo: goodies-dev at xfce.org
        ReportedBy: fedoseev.sergey at gmail.com


Weekdays (Sunday and Monday) in Russian are displayed ugly in forecast tab.
Sometimes they're cut, sometimes they aren't displayed at all.

In .xsessions-errors I get this:
(xfce4-weather-plugin:11535): Gtk-WARNING **: Failed to set text from markup
due to error parsing markup: Error on line 1 char 12: Invalid UTF-8 encoded
text - not valid '<b>\xa8\xe3n\u0008</b>'

(xfce4-weather-plugin:11535): Gtk-WARNING **: Failed to set text from markup
due to error parsing markup: Error on line 1 char 12: Invalid UTF-8 encoded
text - not valid '<b>\xd0{m\u0008</b>'

I believe this happens because of insufficient buffer variable size. In Russian
both words Sunday and Monday have 11 characters. In UTF-8 Cyrillic symbol
occupies two bytes.


-- 
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Goodies-dev mailing list