Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Ajax
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Ajax the combination of XHTML, CSS, DOM, XML, XSLT, XMLHttpRequest, and JavaScript
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Ajax section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 22nd, 2008, 11:15 AM
Authorized User
 
Join Date: Aug 2006
Location: , , .
Posts: 65
Thanks: 0
Thanked 0 Times in 0 Posts
Default problem in saving unicode using ajax

hie....

my question is that i have to let the user to input chinese characters from the text box through ajax request and then save in database.
when i trying to save the data into database, it save all the chinese characters in a series of question marks(??????). this thing is happen when i use GET method in my ajax request.

after few attempt, i try to use POST method in the ajax request and it seem can save the chinese characters. but.....now the problem is....when i type in "Œß ˆÀGOOD AFTERNOON" tis two words, it trim my space between this two words and save the ŒßˆÀ (GOODAFTERNOON) (without space) into database. chinese or english characters also same..(i didnt put in any triming space code)

can anyone tell me that what is this problem and how to solve it? plz help.


p/s: using asp + ajax

please help
thanks in advance

Reply With Quote
  #2 (permalink)  
Old July 23rd, 2008, 02:31 AM
joefawcett's Avatar
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Almost certainly an encoding issue, a clash between stated encoding and actual for example; if you show some of the process we maybe able to help. How is data collected, how is it sent, how is it received and processed?

--

Joe (Microsoft MVP - XML)
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Asp datetime problem with non-Unicode languages neon20 Classic ASP Professional 4 March 8th, 2007 04:03 AM
Asp datetime problem with non-Unicode languages neon20 Classic ASP Databases 0 March 6th, 2007 07:49 AM
Asp datetime problem with non-Unicode languages neon20 ASP.NET 1.0 and 1.1 Professional 0 March 5th, 2007 11:50 AM
problem in unicode chandanbhakuni Classic ASP Databases 1 September 22nd, 2006 10:22 AM
Unicode ASP FIle Problem tks_muthu Classic ASP Databases 2 February 25th, 2005 06:45 AM



All times are GMT -4. The time now is 01:03 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.