Closed rcubetrac closed 18 years ago
Comment by nobody on 17 Feb 2006 19:29 UTC
Logged In: NO
I can add my experiences with similar behavior in the same CVS release.
I can specify my problem like this:
I am using Swedish chars on a Mac OS X / Safari (latest updates of both).
My Swedish characters are mangled whenever a folder is listed by clicking in
the Folders column to the left. However when I click "E-Mail" at the top of the
interface or when I go back out after reading an email the same characters
are fine. All characters are also ok when reading an email.
I can not duplicate this behavior in Firefox but I get the same problem in
Safari on several Macs. I have no idea about Windows.
I have not had the chanse to dive into the source enough to have an idea
about what causes this.
BTW. This is the only bug I have found in this otherwise wonderful software.
You are so far ahead of Hotmail, Gmail and any other webmail. I have
installed almost 20 free webmail clients in tha past few weeks and Roundcube
is by far the nicest. Once search is implemented it will totally dominate tyhe
world of webmail.
Comment by nobody on 17 Feb 2006 19:35 UTC
Logged In: NO
Me again...
I spent a minute looking at the Activity window in Safari and I am pretty sure
that the Swedish characters get messed up for me when the listing call is an
AJAX call and not a "real" page refresh.
Comment by nobody on 18 Feb 2006 09:24 UTC
Logged In: NO
I cound not let this go so I spent last night trying to get it working.
I finally found a fix that works for me in Safari without breaking functionality
in Firefox. This fix has not been tested in any other browser (like Explorer)
yet.
In the file "program/include main.inc"
in the function "rcube_remote_response" add this line (at line 629 in the cvs
release 20060205):
print"/**<?xml version='1.0' encoding='utf-8'?>**/\n";
It should come after the header line and before the line that prints the
commented date and time:
header('Content-Type: application/x-javascript');
print"/**<?xml version='1.0' encoding='utf-8'?>**/\n";
print '/** remote response [h:i:s O')."]('.date('d/M/Y) **/\n";
I did not come to this conclusion all by myself. I found this page after some
failed atempts at forcing UTF-8 encoding.
http://wiki.rubyonrails.org/rails/pages/HowToUseUnicodeStrings
At the bottom of the page are two tips on how to fool Safari.
I hope this works for others and that is does not break the functionality of
other browsers.
/Martin
Comment by charlydoes on 18 Feb 2006 21:07 UTC
Logged In: YES
user_id=1002567
-All messages I have in my mailbox are iso-8859-1. Special
characters () in the subject are unreadable until I
switch folder or select the inbox again. The same characters
are always unreadable in the messages themselves. (firefox
and ie)
-If I send a message from roundcube the same characters are
unreadable in thunderbird and gmail (firefox and ie).
Roundcube cvs build 20060218.
Comment by @thomascube on 7 Jul 2006 09:44 UTC
UTF-8 header is also sent with JS responses. This should fix it.
Status changed by @thomascube on 7 Jul 2006 09:44 UTC
assigned => closed
Severity changed by @thomascube on 7 Jul 2006 09:44 UTC
critical => normal
Milestone changed by @thomascube on 7 Jul 2006 09:44 UTC
0.1-beta2 => none
Reported by squawk99 on 7 Feb 2006 23:30 UTC as Trac ticket #1426795
Migrated-From: http://trac.roundcube.net/ticket/1426795