Hi, UTF8 (Turkish) characters are broken when HeidiSQL shows a view's definition:
Below SQL returns correct result on Query window:
SELECT
'ĞÜŞİÖÇ' AS col1,
'ğüşıöç' AS col12
But when I put this into a view, then click on that view its definition looks as below:
SELECT
'ÄÃœÅİÖÇ' AS col1,
'ğüşıöç' AS col12
This doesn't happen on other clients like DBeaver or Navicat.
More importantly characters are broken on database export to a file or to another database. That makes export useless and even worst dangerous:
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v_test` AS
SELECT
'ÄÃœÅİÖÇ' AS col1,
'ğüşıöç' AS col12 ;
Note that SHOW CREATE VIEW returns correct result:
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v_test` AS
select 'ĞÜŞİÖÇ' AS `col1`,'ğüşıöç' AS `col12`
HeidiSQL 9.5.0.5201 (64bit)
Windows 8.1 x64
10.2.10-MariaDB
MySQL 5.7.17
Thank you for your great product!