english.php which encoding to use?
Posted by tom123
All files from this thread
File Name | File Size | Posted by | Date | ||
---|---|---|---|---|---|
english.php | 31.6 KB | open | download | tom123 | 03/20/2005 | Read message |
english.php which encoding to use? March 19, 2005 06:06PM |
Registered: 19 years ago Posts: 23 |
Hallo,
when I translate lang/englsih.php in to Lithuanian language I get an error:
if I save file with notepad encodet with utf-8, i get an error message when trying to login:
Warning: Cannot modify header information - headers already sent by (output started at E:\WEBSITES\medicus.lt\phorum\include\lang\english.php:1) in E:\WEBSITES\medicus.lt\phorum\login.php on line 132
and I can't login.
On the other hand, when I save language file with notepad encoded as ANSI - I can't see Lithuanian letters in all words, that are in language file
Maybe somebody knows the reasen
Thanks
when I translate lang/englsih.php in to Lithuanian language I get an error:
if I save file with notepad encodet with utf-8, i get an error message when trying to login:
Warning: Cannot modify header information - headers already sent by (output started at E:\WEBSITES\medicus.lt\phorum\include\lang\english.php:1) in E:\WEBSITES\medicus.lt\phorum\login.php on line 132
and I can't login.
On the other hand, when I save language file with notepad encoded as ANSI - I can't see Lithuanian letters in all words, that are in language file
Maybe somebody knows the reasen
Thanks
Re: english.php which encoding to use? March 20, 2005 02:48AM |
Admin Registered: 21 years ago Posts: 9,240 |
Re: english.php which encoding to use? March 20, 2005 05:06PM |
Registered: 19 years ago Posts: 23 |
Re: english.php which encoding to use? March 20, 2005 05:08PM |
Registered: 19 years ago Posts: 23 |
Re: english.php which encoding to use? November 29, 2005 08:22AM |
Registered: 20 years ago Posts: 687 |
This is an old thread, but the problem may have been that PHP had problems include()'ing utf-8 encoded files. I have had this problem in the past - I don't know if newer versions of PHP can do it (I assume they can).
/\dam
--
My notable Phorum sites:
Movie Deaths Database - "review comments" system mostly powered by Phorum
Learn Chinese! - integrated forum quiz
Edited 1 time(s). Last edit at 11/29/2005 08:22AM by sheik.
/\dam
--
My notable Phorum sites:
Movie Deaths Database - "review comments" system mostly powered by Phorum
Learn Chinese! - integrated forum quiz
Edited 1 time(s). Last edit at 11/29/2005 08:22AM by sheik.
Sorry, only registered users may post in this forum.