[Gambas-user] Issue 559 in gambas: default charset is not unicode

gambas at ...2524... gambas at ...2524...
Tue Sep 16 07:11:35 CEST 2014


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 isaf... at ...626...: 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




More information about the User mailing list