+ Reply to Thread
Results 1 to 6 of 6

Thread: BUG: folders with non-ASCII chars shown incorrectly

  1. #1
    Borszczuk is offline Registered User
    Join Date
    Feb 2010
    Posts
    16
    Downloads
    0
    Uploads
    0

    Default BUG: folders with non-ASCII chars shown incorrectly

    [Sorry for posting it here, I do not have Trac account]

    Main folder list incorrectly deals with folders containing accented characters in name. I believe this is quick-fix as the same folder is listed correctly when you play with folders in preferences.

    Screenshot attached.
    Attached Images

  2. #2
    alec is offline Registered User
    Join Date
    Oct 2008
    Posts
    335
    Downloads
    1
    Uploads
    0

    Default

    Works for me, what versions of RC, PHP, http server?

  3. #3
    Borszczuk is offline Registered User
    Join Date
    Feb 2010
    Posts
    16
    Downloads
    0
    Uploads
    0

    Default

    PHP 5.2.12
    Apache 2 (httpd is irrelevant)
    RC 0.3.1

    Maybe it does not work for certain characters correctly? Please try creating folder with that name:

    ĄĆŚłąśćóż

    and let me know what comes out of it.

  4. #4
    Borszczuk is offline Registered User
    Join Date
    Feb 2010
    Posts
    16
    Downloads
    0
    Uploads
    0

    Default

    I found this in logs/errors:

    [08-Mar-2010 07:02:10 +0100]: PHP Error: Could not convert string from 8859-2 to UTF-8. Make sure iconv/mbstring is installed or lib/utf8.class is available. in /program/include/main.inc on line 279 (GET /?_task=mail&_mbox=INBOX&_refresh=1)
    [08-Mar-2010 07:02:22 +0100]: PHP Error: Could not convert string from 8859-2 to UTF-8. Make sure iconv/mbstring is installed or lib/utf8.class is available. in /program/include/main.inc on line 279 (GET /?_task=mail&_mbox=INBOX)
    [08-Mar-2010 07:02:42 +0100]: PHP Error: Could not convert string from 8859-2 to UTF-8. Make sure iconv/mbstring is installed or lib/utf8.class is available. in /program/include/main.inc on line 279 (GET /)


    So maybe this is a culprit? There's no mbstring on that machine, but since it displays folders correctly in personal settings window I think this is a bug in the code to require mbstring there if simmilar functionality works fine without in other place.

  5. #5
    dshepherd is offline Registered User
    Join Date
    Oct 2009
    Posts
    87
    Downloads
    1
    Uploads
    0

    Default

    I have just tried creating a folder with that name and it displays correctly in both the main folder list and the folder settings list. The issue must be with your server setup.

  6. #6
    Borszczuk is offline Registered User
    Join Date
    Feb 2010
    Posts
    16
    Downloads
    0
    Uploads
    0

    Default

    I will investigate further over the weekend - yet I any ideas why it's fine in prefs and wrong in main folder list?

    Also, if you are aware (or anyone who knows sources better than me), which method/function is responsible for displaying folder lists in both places - that would help me with debugging.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts