Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old March 13th, 2008, 04:39 PM
RonnyZenn RonnyZenn is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Scotland
Posts: 38 RonnyZenn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 32 m 41 sec
Reputation Power: 2
Exclamation Source code char problem!!!

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

Reply With Quote
  #2  
Old March 13th, 2008, 05:11 PM
NetSurfer NetSurfer is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Jul 2007
Posts: 82 NetSurfer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 16 h 33 m 9 sec
Reputation Power: 0
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.

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > Source code char problem!!!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT