Sql database and utf8

Discuss GUI programming with the RapaGUI plugin here
Post Reply
User avatar
NubeCheCorre
Posts: 77
Joined: Mon Mar 19, 2012 1:24 am
Contact:

Sql database and utf8

Post by NubeCheCorre »

Sorry for the very stupid question but I would like to know (if there is a way), if it is necessary, to set the charset inside sql database to utf-8 ..
I ask this because I have knowledge about mysql but not about sql3 and speaking about mysql, when I set the html page with ut-8 I also set the database with utf-8. So, the question is: Have I to do the same thing also with Sql3? and if the answer is yes, How do I set the charset in the db? I look at the documentation but I wasn't able to find an answer.. Thanks in advance for the help..

User avatar
airsoftsoftwair
Posts: 4371
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Sql database and utf8

Post by airsoftsoftwair »

SQLite databases use UTF-8 by default so there's nothing you have to do.

User avatar
NubeCheCorre
Posts: 77
Joined: Mon Mar 19, 2012 1:24 am
Contact:

Re: Sql database and utf8

Post by NubeCheCorre »

Thanks!

Post Reply