Author Topic: svn 587 - attachment error  (Read 5665 times)

Offline Florianer

  • Full Member
  • ***
  • Posts: 102
svn 587 - attachment error
« on: June 06, 2007, 02:28:15 AM »
Hi,

I tried to find something in the forum, but this is the only result:
Quote from: 123123
and i think there is error with attachments, its impossible to download them, maybe you could fix it too...
Have a look at the date...

OK, so far, I cannot open or download any (word) attachmet. Opening the doc, (I also tried a jpg) will result in an 'ASCII' view in the browser. Downloading it, gives me a HTML file. Opening the same as in the browser, renaming did also not work. I have no problems, sending an attachment. Am I the only one having problems with attachments or have I missed a solution for that in the forum?
it\'s not a bug - it\'s a feature


Offline amonares

  • Newbie
  • *
  • Posts: 1
Re: svn 587 - attachment error
« Reply #1 on: June 13, 2007, 03:10:11 AM »
Florian I try and try for solving the problem first i think it was the server,
because in I change the language (locale) and I can download,
then I thing it was the server. But I never had saw the erros in the /logs/ folder,
and it saids that for some reason label.inc had send something to the buffer (before headers),
but i saw and the wasn't any space. So I take the easy way copy the array for the label.inc
into another label.inc that hasn't the problem for me it was "en".
So i put the translation into it and upload, then the errors said that now
the problem was messages.inc I make the same and now it works.

Best regards
Álvaro Monares G.
 :)


Edited

The answer was in
http://roundcubeforum.net/forum/index.php?topic=1645.msg6657
The problem is that the locales inc were enconded in another charset

in linux with the program enca I can see that en is a 7bit ASCII characters text
and de_DE is Universal transformation format 8 bits; UTF-8
So the answer is that the locale must be in 7bit ASCII characters text.
You can do it in linux :
iconv -c -f utf8 -t ascii old_file.inc > new_file.inc
So old was utf-8 the new is ascii.