Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.1.4, 10.1(EOL), 10.2(EOL)
-
None
-
Windows, reproduced on Windows Server 2012 R2 Standard Edition 64bit
Description
All Linux Versions and Windows before MariaDB 10.1.4
select convert('ABCMogę jeśćDEF' using latin1)
->'ABCMog? je??DEF'
On Windows and all Versions starting from 10.1.4
select convert('ABCMogę jeśćDEF' using latin1)
--> NULL
It returns null.
Version is 9.1.0.4867.
Please consider, that a customer have the same results.
Valerii have checked on console as well.
I quote his note:
Let me share my test results. Windows first:
[openxs@fc23 maria10.1]$ bin/mysql -A -uroot -proot --host=192.168.0.60 --port=3316 test
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 2
Server version: 10.1.13-MariaDB mariadb.org binary distribution
Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [test]> show variables like 'char%';
+--------------------------+-----------------------------------------------------+
| Variable_name | Value |
+--------------------------+-----------------------------------------------------+
| character_set_client | utf8 |
| character_set_connection | utf8 |
| character_set_database | latin1 |
| character_set_filesystem | binary |
| character_set_results | utf8 |
| character_set_server | latin1 |
| character_set_system | utf8 |
| character_sets_dir | C:\Program Files (x86)\MariaDB 10.1\share\charsets\ |
+--------------------------+-----------------------------------------------------+
8 rows in set (0.01 sec)
MariaDB [test]> select convert('ABCMogę jeśćDEF' using latin1);
+--------------------------------------------+
| convert('ABCMogę jeśćDEF' using latin1) |
+--------------------------------------------+
| NULL |
+--------------------------------------------+
1 row in set, 1 warning (0.00 sec)
Richard