I've searched many sites, but cannot find out how to properly display UTF-16/UCS-2 fields in query results viewer on Linux.
I have a field defined as follows:
'UCS2Field' VARCHAR(100) CHARACTER SET 'ucs2' COLLATE 'ucs2_unicode_ci' NOT NULL
and in query results the contents of this field is displayed incorrectly. I tried to change fonts and to do some conversions to UTF-8 like that:
SELECT CONVERT( UCS2Field USING utf8) FROM table
but to no avail. The binary editor shows that the characters in this field stored as they should be in MySql: as big-endian two byte values. Is Workbench on Linux capable to display UCS2 correctly?
QuantumDB plugin for Eclipse displays this field just fine after selecting the option "UTF-16 encoding".
I have a field defined as follows:
'UCS2Field' VARCHAR(100) CHARACTER SET 'ucs2' COLLATE 'ucs2_unicode_ci' NOT NULL
and in query results the contents of this field is displayed incorrectly. I tried to change fonts and to do some conversions to UTF-8 like that:
SELECT CONVERT( UCS2Field USING utf8) FROM table
but to no avail. The binary editor shows that the characters in this field stored as they should be in MySql: as big-endian two byte values. Is Workbench on Linux capable to display UCS2 correctly?
QuantumDB plugin for Eclipse displays this field just fine after selecting the option "UTF-16 encoding".