Author Topic: Problem with utf-8 just in 1.7.3  (Read 4349 times)

0 Members and 1 Guest are viewing this topic.

Offline omidkorat

  • Pre-Newbie
  • Posts: 6
    • View Profile
Problem with utf-8 just in 1.7.3
« on: September 24, 2006, 09:40:33 AM »
I had 1.7.2 with utf-8 and no problem, but when I upgrade to 1.7.3 in header shows, an error (Cannot add header information - headers already sent by…).
I never modify any php files; just overwrite all new files on older files.
I do another test. Install a 1.7.3 on other place for the first time. Everything was good until that I changed language Charest (and its file) to utf-8!
Whenever that I set utf-8 error appear in header, and when I set to every Charest except utf-8, everything goes well.
In addition, login and logout have problem with utf-8.
I download Arabic language and install it and everything was good. Because it was set to UTF8 not utf-8 and its file does not save as utf-8 format. My language (Persian) just works with utf-8.
What should I do?

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Problem with utf-8 just in 1.7.3
« Reply #1 on: September 24, 2006, 10:45:29 AM »
Make sure when you save edited files you save them without "BOM". Not all text editors support that...
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline indgroup

  • Pre-Newbie
  • Posts: 1
    • View Profile
Re: Problem with utf-8 just in 1.7.3
« Reply #2 on: October 21, 2006, 05:13:30 PM »
I am having the same problem with a clean new install of 1.7.3 .... arabic lang pack didnt work
somehow the UFT8 didnt work
my gallery address is: http://www.groupind.net/gallery

i couldnt solve the problem and i also tried editing the header and set the charset to UTF8 manually .. it didnt work
i still cant make it work in arabic.. unless i go to View in IE and Encode then choose Arabic manually

 :?

Offline omidkorat

  • Pre-Newbie
  • Posts: 6
    • View Profile
Re: Problem with utf-8 just in 1.7.3
« Reply #3 on: October 21, 2006, 08:29:33 PM »
but my problem fixed with admin suggestion.
use pspad to save utf-8 files: http://www.pspad.com/index_en.html