EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
September 14, 2025, 01:56:58 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
Charset Display german umlaut
Pages: [
1
]
« previous
next »
Print
Author
Topic: Charset Display german umlaut (Read 7919 times)
jaimi
Full Member
Posts: 121
Charset Display german umlaut
«
on:
February 28, 2014, 11:55:03 PM »
Hello,
I have a annoying thing with german umlaut. I tried several things but I could get it running properly.
All started with the json unability to encode Strings others than utf-8.
I changed the meta-tag in the html-page to utf-8. The display of the site now is ok.
But when I write geman umlaut within the data-grid the server gets some strange signs back.
The message box regarding to the datagrid also displays the umlaut wrong (see attachement).
What is the problem? Has anyone an idea?
Thanks
Jaimi
Logged
rezzonico
Full Member
Posts: 186
Re: Charset Display german umlaut
«
Reply #1 on:
March 20, 2014, 01:43:11 AM »
Hi Jaimi,
I work with german umlaut too.
This is what I do:
1) When I create the database the first line is:
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `DbName` /*!40100 DEFAULT CHARACTER SET utf8 */;
2) The first line of my html files is:
Content-type: text/html; charset=utf-8
3) When I output the json string from my cgi-script I use the following command:
$json = JSON::XS->new->latin1->encode (\%array);
... yes ... latin1
Regards
Miche
«
Last Edit: March 20, 2014, 02:41:26 AM by rezzonico
»
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...