| 
	
 | 
 Posted by Willem Bogaerts on 01/10/07 16:03 
>> 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. 
>  
> do you know at least where the problem is ? 
>  
> http or mysql ? 
> i know that Redhat apache is set to send in utf-8 (unicode) 
 
Both. I see the strange characters in web pages, in php-created PDF 
files (using FDPF), and in the command-line mysql client if I use a 
terminal connection through SSL using putty. All texts come from the 
database (otherwise I would have used HTML entities in the first place) 
and are translated to HTML with the htmlentities() function. 
 
Now I write this, I see there is a parameter to this function that I can 
try. 
 
--  
Willem Bogaerts 
 
Application smith 
Kratz B.V. 
http://www.kratz.nl/
 
  
Navigation:
[Reply to this message] 
 |