Roundcube Community Forum

 

Attachements are not shown correctly

Started by visualmike, May 18, 2007, 07:09:49 PM

Previous topic - Next topic

visualmike

HI,

i updated today to newest svn version and now i cant view attachments correctly.
I change the default encoding from apache to UTF-8 but this doesn't solve the problems.

Attached you can find a screenshot.

Please help me.

Many thanks for your great work and best regards

Mike

visualmike

Update: i use the latest VN build.

thanks

mike

Zindy

Hi there,

after installing the rc1 i have the same problem. I didn't upgrade it, its a new installation and a new database.
Anyone have an idea?

thx

Zindy

wagonza

I also have the same problem, using an upgraded version and a new installation. It returns the same the garbage as Mike experienced. I also tried the latest SVN build but that was the also the same.

webserver: lighttpd
php: php 4.4.7

Thanks
/W

rockwilda

I've got the same Problem with lastest svn build and rc1. Fresh database/installation.

With beta2 it works on the same server ...

rockwilda

I changed the language from german to english, know it works :)

Found follwing in the error log:

[25-May-2007 18:06:49] PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/subdomain/mail_svn/program/localization/de_DE/messages.inc:1) in /var/www/subdomain/mail_svn/program/steps/mail/get.inc on line 73
[25-May-2007 18:06:49] PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/subdomain/mail_svn/program/localization/de_DE/messages.inc:1) in /var/www/subdomain/mail_svn/program/steps/mail/get.inc on line 111
[25-May-2007 18:06:55] PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/subdomain/mail_svn/program/localization/de_DE/messages.inc:1) in /var/www/subdomain/mail_svn/program/steps/mail/get.inc on line 64
[25-May-2007 18:06:55] PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/subdomain/mail_svn/program/localization/de_DE/messages.inc:1) in /var/www/subdomain/mail_svn/program/steps/mail/get.inc on line 65
[25-May-2007 18:06:55] PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/subdomain/mail_svn/program/localization/de_DE/messages.inc:1) in /var/www/subdomain/mail_svn/program/steps/mail/get.inc on line 66
[25-May-2007 18:06:55] PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/subdomain/mail_svn/program/localization/de_DE/messages.inc:1) in /var/www/subdomain/mail_svn/program/steps/mail/get.inc on line 67
[25-May-2007 18:06:55] PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/subdomain/mail_svn/program/localization/de_DE/messages.inc:1) in /var/www/subdomain/mail_svn/program/steps/mail/get.inc on line 72
[25-May-2007 18:06:55] PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/subdomain/mail_svn/program/localization/de_DE/messages.inc:1) in /var/www/subdomain/mail_svn/program/steps/mail/get.inc on line 73
[25-May-2007 18:06:55] PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/subdomain/mail_svn/program/localization/de_DE/messages.inc:1) in /var/www/subdomain/mail_svn/program/steps/mail/get.inc on line 111

Nico

Jo_shi

I have edited the messages.inc in program/localization/de_DE/
Some ÃÃ,¤, ÃÃ,¶, ÃÃ,¼ in the alerts are coded as ae, oe, ue. I don't know why in rc1 the Umlaute are not shown in the alert-messages. Say me if something is wrong.

I have edited the messages.inc last on 2007-05-29 at 10:21 AM

Greetings Jo_shi

Julien

Hi,
You've probably edited your messages.inc with an utf8 editor and it added the bom in the begining of the file.
Open the file with Notepad++ and set the encoding to ansi and it will work !

Jo_shi


dangra

Quote from: Julien Hi,
You've probably edited your messages.inc with an utf8 editor and it added the bom in the begining of the file.
Open the file with Notepad++ and set the encoding to ansi and it will work !

convert files in program/localization/language/ from utf-8 to ascii

iconv -c -f utf8 -t ascii messages.inc >messages.new
mv messages.new messages.inc

iconv -c -f utf8 -t ascii labels.inc >labels.new
mv labels.new labels.inc

xtremesk8

Hi,

I'm having problems with .pps extencions. With the Save link as... put a .html file type but if you change to .pps and try to open doen't work.

Is a way to put a function to download the file as is: .ppt, .pps, .pdf, .jpg, etc.

I resolve the problem with .jpg files changing the message.inc to utf-8 in notepad. label.inc in utf-8 to.

pablolagosm

I had this problem too...

I've the RC1 translated to Spanish.

The solution was open labels.inc and messages.inc in notepad++ and saving as ANSI.

Worked great!! Thank you.

umano

I have the same issue, I've tried to open localization file with notepad++ and save them in ansi without bom,
but it still doesn't work. I've tried to upload the beta2 localization files (en gb) but nothing works

I have apache 1.3.37 php 5.2.2 mysql 5.0.27-standard.

Thank you 4 your help

m2k

As already mentioned in some other threads, there is a special character at the beginning of some localization-files.

If you view the files with "less" you see in the first line


So, you have to delete the first line with an editor an write it new (
Following files are affected:

localization/de_DE/messages.inc
localization/es/messages.inc
localization/es/labels.inc
localization/ca/labels.inc
localization/ca/messages.inc
localization/si/messages.inc

Related threads:
http://roundcubeforum.net/forum/index.php?topic=1249.msg5320#msg5320
http://roundcubeforum.net/forum/index.php?topic=405.15