Menu

#40 Character problems with EVERY language

open
nobody
None
6
2007-08-31
2007-08-19
No

This is what it says on your webpage:

--------------------------------------
# Supports multiple languages
Currently translated into Biełlaruskaja łacinka,Català, Čeština, Dansk, Deutsch, Español, Français, hrvatski, Italiano, Македонски, Magyar, Nederlands, Norsk, 日本語, Polski, Português, Português (Brasil), Romană, Slovenčina, Slovenščina, Suomi, Svenska, Русский, தமிழ், and 简体中文.
--------------------------------------

I do not agree with this. Your program ONLY supports English, because every other language is crap due to not showing ANY special character correctly.
I really do not understand why you say you "support multiple languages".

There have been numerous reports about this bug so please fix it already.

Discussion

  • Anonymous

    Anonymous - 2007-08-19
    • priority: 5 --> 9
     
  • Anonymous

    Anonymous - 2007-08-19

    Logged In: YES
    user_id=1679754
    Originator: YES

    PS: Here is a little reference: https://bugs.launchpad.net/ubuntu/+source/checkgmail/+bug/90984

     
  • Owen Marshall

    Owen Marshall - 2007-08-31

    Logged In: YES
    user_id=874762
    Originator: NO

    Hi,

    Language support is a difficult issue - the translations work for many people, but unfortunately they don't seem to work for some configurations. I've never been able to figure it out (it works for me just fine), but you're more than welcome to fix it and submit a patch if you'd like.

    In the mean time, please learn some manners. Insulting the developer of a project isn't going to get a bug fixed any sooner. You may not have worked this out yet, but I don't get paid to work on checkgmail; I've made the software available merely in the hope that it may be useful to others. But if you don't like it, or it doesn't work for you, then go use something else!

    Cheers,
    Owen

     
  • Owen Marshall

    Owen Marshall - 2007-08-31
    • priority: 9 --> 1
     
  • Anonymous

    Anonymous - 2007-08-31

    Logged In: YES
    user_id=1679754
    Originator: YES

    OK, firstly, I'm sorry about being rude. I sort of had a bad day.
    And thank you for answering despite my manners.

    Now about the bug. I would love to fix it if I knew how.
    But if you have any idea where I could start, I'd be glad to help.

    Cheers!

     
  • Anonymous

    Anonymous - 2007-08-31
    • priority: 1 --> 6
     
  • drsaturno

    drsaturno - 2007-10-18

    Logged In: YES
    user_id=1054837
    Originator: NO

    Owen,

    I have the same problem with checkgmail. Characters actually show up ok once I click to show the full message, though.

    Since you can't reproduce it, if possible, I'd like to help debug it. I don't know much Perl, but if you'd post some instructions we could try and see if we can come up with something useful.

    Cheers.

     
  • drsaturno

    drsaturno - 2007-10-24

    Logged In: YES
    user_id=1054837
    Originator: NO

    Well, I don't know if this is a fix or an ugly workaround (given how dumb it is, it's probably the second), but I replaced:

    return $_;

    with:

    use Encode;
    my $body_decode= decode("utf-8", $_);
    return $body_decode;

    in sub clean_text {}, copying what was in sub clean_text_body {} (since body text was displaying correctly, once I clicked on the message), and it's working OK for me.

    Cheers.

     
  • drsaturno

    drsaturno - 2008-01-24

    Logged In: YES
    user_id=1054837
    Originator: NO

    Just reporting that non-english characters are still broken on .13

    new stuff when called from command line:

    Parsing of undecoded UTF-8 will give garbage when decoding entities at /usr/share/perl5/LWP/Protocol.pm line 114.
    Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 2 char 6: Odd character '&', expected a '>' or '/' character to end the start tag of element 'div', or optionally an attribute; perhaps you used an invalid character in an attribute name at /usr/local/bin/checkgmail line 1621.
    Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 2 char 6: Odd character '&', expected a '>' or '/' character to end the start tag of element 'div', or optionally an attribute; perhaps you used an invalid character in an attribute name at /usr/local/bin/checkgmail line 1625.
    Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 2 char 6: Odd character '&', expected a '>' or '/' character to end the start tag of element 'div', or optionally an attribute; perhaps you used an invalid character in an attribute name at /usr/local/bin/checkgmail line 1621.
    Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 2 char 6: Odd character '&', expected a '>' or '/' character to end the start tag of element 'div', or optionally an attribute; perhaps you used an invalid character in an attribute name at /usr/local/bin/checkgmail line 1625.
    Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 1 char 151: Odd character '&', expected a '>' or '/' character to end the start tag of element 'br', or optionally an attribute; perhaps you used an invalid character in an attribute name at /usr/local/bin/checkgmail line 1621.
    Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 1 char 151: Odd character '&', expected a '>' or '/' character to end the start tag of element 'br', or optionally an attribute; perhaps you used an invalid character in an attribute name at /usr/local/bin/checkgmail line 1625.

    cheers.

     
  • Nobody/Anonymous

    Logged In: NO

    Yes, I'm sure it is still present -- the problem is that I simply cannot reproduce this bug in my own hands. Until it happens to me, it's impossible to debug (I tried very early on). I've checked the versions of Perl and associated modules, distros, locale, everything -- all those can be identical, and still one person will experience this problem and another not. All I can say is that utf8 and Perl clearly don't work that well together ...

    Cheers,
    Owen

     
  • drsaturno

    drsaturno - 2008-03-05

    Logged In: YES
    user_id=1054837
    Originator: NO

    SVN rev27 works perfectly for me. Great job, thanks.

     

Log in to post a comment.