Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005996 [Quercus] major always 04-20-16 10:38 04-26-16 10:03
Reporter ebo View Status public  
Assigned To
Priority normal Resolution open Platform
Status new   OS
Projection none   OS Version
ETA none Fixed in Version Product Version
  Product Build
Summary 0005996: Ajax UTF-8 garbled
Description When submitting UTF-8 data via Ajax, it gets garbled in the back-end.
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0006685)
ebo
04-20-16 10:58

Using jQuery's Ajax() method which defaults to UTF-8.

Basically when sending a string like this: Hauptstraße 11

it gets received like this in PHP: Hauptstra&65533;e 11
 
(0006689)
ebo
04-26-16 10:03

A workaround is to set the jQuery.Ajax() setting contentType to 'application/x-www-form-urlencoded'.
The default value is 'application/x-www-form-urlencoded; charset=UTF-8'
 

- Issue History
Date Modified Username Field Change
04-20-16 10:38 ebo New Issue
04-20-16 10:58 ebo Note Added: 0006685
04-26-16 10:03 ebo Note Added: 0006689


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker