Status: New
Owner: ----
Labels: Version-3.5.4 Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any  
Desktop-Any GUI-Any

New issue 559 by [email protected]: default charset is not unicode
https://code.google.com/p/gambas/issues/detail?id=559

1) Describe the problem.
According to Gambas 3 documentation when I create database and tables using  
database-independent method then it creates in unicode charset. But the  
table or field charset is not unicode when I create table in mariadb 10.

2) Give information about your system.
[System]
Gambas=3.5.4
OperatingSystem=Linux
Kernel=3.13.0-35-generic
Architecture=x86
Distribution=Ubuntu 14.04.1 LTS
Desktop=GNOME
Theme=QGtk
Language=en_US.UTF-8
Memory=1945M
[Libraries]
Cairo=libcairo.so.2.11301.0
Curl=libcurl.so.4.3.0
DBus=libdbus-1.so.3.7.6
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.204.0
GTK+=libgtk-x11-2.0.so.0.2400.23
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.44.0.0
Qt4=libQtCore.so.4.8.6
SDL=libSDL-1.2.so.0.11.4

Database:
Mariadb 10

3) Provide a little project that reproduces the bug or the crash.

Create a table:

Dim hTable As Table
If Not $con.Tables.Exist("tblextra") Then
     hTable = $con.Tables.Add("tblextra")
     hTable.Fields.Add("fldid", db.Serial)
     hTable.Fields.Add("fldextraid", gb.String, 200)
     hTable.PrimaryKey = ["fldid"]
     hTable.Update
   Endif

Check collation and charset of table and fields using phpmyadmin. You won't  
find unicode.
Insert a sentence in unicode character. When you output same sentence in  
textbox or textarea you get something like "????"



-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to