mysql - How to Insert and display Hindi character in Grails -


i have problem while insert hindi or other language characters database using grails.

follow details solve problem.

i create database using following syntax.

create database hindi_test     character set utf8     collate utf8_unicode_ci; 

table syntax is,

create table `hindi` (    `id` bigint(20) not null auto_increment,    `version` bigint(20) not null,    `data` varchar(255) collate utf8_unicode_ci default null,    primary key (`id`)  ) engine=innodb auto_increment=3 default charset=utf8 collate=utf8_unicode_ci 

i mention <%@ page contenttype="text/html;charset=utf-8" %> on top of gsp.

but hindi or other language text not insert , display in gsp.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -