|
Posted by Willem Bogaerts on 01/09/07 15:17
Dear all,
I develop web applications on a Windows machine and upload the files to
a Linux server. When I look at any output (on the site, in a console
window, etc.), it appears in a different character set. Not very
surprising, but not pleasant either. My problem is that I do not know
where it goes wrong.
I upload the files with WinSCP(SFTP). My guess is that that is one of
the steps where it goes wrong. I cannot upload to another character set,
but I upload the files as text. As far as I know, that corrects only
line-terminations.
Filling databases is usually also done from a Windows machine, either
directly through a SSL tunnel to the database or through a browser
running on Windows. Both ways of entering data into the database also
show diacriticals as strange character sequences. The database text
fields (MySQL) all have a character set of "Latin-1" and have the
corresponding case-insensitive collation.
Setting the PHP character set in PHP.INI seems to have no effect at all.
Is there something else I could try?
Am I missing something?
Best regards
--
Willem Bogaerts
Application smith
Kratz B.V.
http://www.kratz.nl/
[Back to original message]
|