AJAX Forums

Encoding problem in Ajax!?

This is a discussion on Encoding problem in Ajax!? within the AJAX Errors forums, part of the Advanced Ajax category; When I get some resultes from MySql DB which are not English they appearas question marks(????) (even the Encoding of the file that data comes in & the Collation of ...


Go Back   AJAX Forums > Advanced Ajax > AJAX Errors

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
Old 03-17-2007, 11:35 AM   #1 (permalink)
Junior Member
 
Join Date: Mar 2007
Posts: 1
Rep Power: 0 g_boss5 is on a distinguished road
Encoding problem in Ajax!?

When I get some resultes from MySql DB which are not English they appearas question marks(????) (even the Encoding of the file that data comes in & the Collation of db table be UTF-8 unicode)But when I get the results from a file that has UTF-8 unicode the data appears with no problem. Can you help me at this?Best Regards
__________________
<a href="http://developer.yahoo.com/about"><img src="http://us.dev1.yimg.com/us.yimg.com/i/us/nt/bdg/websrv_120_1.gif" border="0"> </a>
g_boss5 is offline   Reply With Quote
Old 03-17-2007, 11:38 AM   #2 (permalink)
Junior Member
 
Join Date: Mar 2007
Posts: 1
Rep Power: 0 KEAN G is on a distinguished road
Check out your DB tables. you probably need to define them as UTF-8 as well, default is probably set to ASCII (1 bytes/charactor), not UTF-8(2 bytes/charactor).
__________________
<a href="http://developer.yahoo.com/about"><img src="http://us.dev1.yimg.com/us.yimg.com/i/us/nt/bdg/websrv_120_1.gif" border="0"> </a>
KEAN G is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
AJAX utf-8 encoding problem danielle AJAX Help 0 07-11-2007 01:44 AM
Is it possible to Remove all CSS Elements and Encoding from a Page using Elliot N XHTML and CSS 1 06-23-2007 11:39 AM
javascript problem? antheia JavaScript 3 05-15-2007 06:43 AM
Ever see this javaScript problem? Trance K JavaScript 1 04-02-2007 11:52 PM
Can someone tell me if there is a problem... timoothy36 JavaScript 0 03-19-2007 03:35 PM


All times are GMT -4. The time now is 05:18 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5
Copyright ©2006 - 2008, AJAXwith.com