Home » U++ Library support » U++ SQL » Setting SQLite language?!
Setting SQLite language?! [message #12853] |
Wed, 21 November 2007 18:18 |
alex100
Messages: 118 Registered: November 2007
|
Experienced Member |
|
|
Hi all,
How to format, during creating or not, the language of the SQLite database?
In my app I set the language using OS language like this:
GUI_APP_MAIN
{
...
::SetLanguage( ::GetSystemLNG() );
theApp.Run();
}
If I insert PT chars in a database field thos chars are not recorded:
if(!SQL.Execute(Format("update Groups set NAME='%s' where ID > 1","Joćo")))
PromptOK("Erro a executar o update!");
When I read from the table I just see the
"Jo" and nothing else:
SQL.Execute("select * from groups");
while(SQL.Fetch())
Exclamation(Format("%d - %s",SQL[0],SQL[1]));
Thank you very much
Alex
|
|
|
Goto Forum:
Current Time: Wed May 15 08:24:55 CEST 2024
Total time taken to generate the page: 0.02131 seconds
|