|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
here is a strange question, I send some test with $_post and everything seems fine when i display them but actually in the source code i see that chars are replaced.
ex: Original and how it looks çığöşü But in source, it turns to: çýðöþü if you're interested, here is the source code which i wrote just to test, something very simple Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9" /> </head> <body> <?=$_POST['testData']?> </body> </html> Do I actually miss something?! i seems very simple but couldn't figure out how to fix it!
__________________
RONNY.ZENN |
|
#2
|
|||
|
|||
|
If i get you right you send some text to your script and it displays it incorrectly. If so just make sure that character encoding of the text is actually iso-8859-9 (as specified in the script). May be you just specified a wrong encoding. I use utf-8 in my projects so i never encounter such errors - i mean whatever language i use i dont need to specify a special encoding to get characters displayed correctly.
Last edited by NetSurfer : March 13th, 2008 at 05:30 PM. |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > Source code char problem!!! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|