Turkish Characters problem with Turkish characters
#16
Posted 26 January 2006 - 10:18 PM
Set NAMES=latin1;
(equal to)
Set character_set_connection=latin1;
Set character_set_results=latin1;
Set character_set_client=latin1;
... are supported from MySQL4.1
(NB: edited)
Neither is supported with MySQL 4.0
But it also does not have any effect to edit the tunnelling file when running MySQL 5.0.
Peter Laursen
Webyog
#17
Posted 26 January 2006 - 10:27 PM
A DATA-sync with HTTP raises the same error.
And now this (attached) is funny. I can insert a lot of Danish words with 'ø' - except the last one. The error message is the same i get if I try to insert 'øø'. But most often it is the 'Syntax' error.
@ritesh: a problem with your 'home-made' HTTP-implementation ??
Attached File(s)
-
empty.jpg (28.81K)
Number of downloads: 115
Peter Laursen
Webyog
#19
Posted 27 January 2006 - 07:03 PM
let me repeat:
There are two issues with national characters:
1) The WRITE problem with HTTP is also in SQLyog 4.1. It is identical or almost identical as of now.
2) The display problem with the editor was introduced with 4.2. But editor is also new code (multitabbed + delimiter).
Peter Laursen
Webyog
#20
Posted 27 January 2006 - 10:20 PM
I can use Danish characters in CREATE TABLE and ALTER TABLE and they show correctly in Object Browser. When I doubble-click them into editor the become cyrillic. It also haappens when I type it. Like that on onw Windows machine. On another machine that is dual boot Windows/Linux it happens like that on Linux/Wine, not on Windows.
It is a PURE display thing. I can use those cyrillic names in queries and they return what they should (Danish) in RESULT pane.
Attached File(s)
-
editor.jpg (9.85K)
Number of downloads: 112
Peter Laursen
Webyog
#21
Posted 28 January 2006 - 05:37 AM
A consideration:
But since it READS all sorts of characters correctly it must read and treat the webserver reponse to the GET request (or whatever request type is used). But how to 'adjust' the charset between server and client 'the other way around' - when WRITING?
I don't think this is related to MySQL or 'SET NAMES'. It is a HTTP-server / HTTP-client(and that is HTTP-implementation in SQLyog) -communication issue.
BTW: the charset info that my local Apache sends on a GET request is
Accept-Charset: windows-1252, utf-8, utf-16, iso-8859-1;q=0.6, *;q=0.1
so it should surely be able to write all those characters correctly if it applies to WRITE too!
Peter Laursen
Webyog
#22
Posted 28 January 2006 - 06:34 AM
Attached File(s)
-
selcyr.jpg (13.35K)
Number of downloads: 103
Peter Laursen
Webyog
#24
Posted 06 February 2006 - 10:45 AM
But this does not solve the HTTP-tunnel write of certain character squences with national characters.
I still believe that is two non-related issues!
Peter Laursen
Webyog
#25
Posted 18 February 2006 - 03:39 AM
http://bugs.mysql.com/bug.php?id=17473
It does not explain all of of it (and not at all the HTTP WRITE issue I think) - but there ARE lots of problems with Turkish characters!
Peter Laursen
Webyog
#26
Posted 20 February 2006 - 06:18 PM
http://bugs.mysql.com/bug.php?id=17458
However my HTTP-write problem occurs also with MySQL 4.0 and tested same with php 442 and 512.
But no matter what this thread is worth bookmarking!
Peter Laursen
Webyog
#27
Posted 20 February 2006 - 08:04 PM
But not into a TEXT or VARCHAR. This is true for PHP 4.4.2 and 5.1.2 on my locals and for 4.4.2 on my own webhost.
But on a server running PHP 4.3.2 (you know which one!) I can HTTP-write æøåÆØÅäöüëéñ etc in BLOB, TEXT and VARCHAR columns as well.
@ritesh
doesn't that (that BLOB write and TEXT and VARCHARS don't) more or less prove that it is not an issue with SQLyog?
I really start to suspect that the latest PHP builds are buggy - or the connectors distributed by MySQL!
Attached File(s)
-
blob.jpg (23.28K)
Number of downloads: 57
Peter Laursen
Webyog
#28
Posted 01 March 2006 - 04:34 PM
It is VERY CERTAIN that I can write special characters ON THE SAME (Apache + MySQL) server and PHP 4.3.x. With latest versions (5.1.2 and 4.4.2) I can't. I can't find anything in PHP changelogs that relates to this!
added: This has now been verified on more MySQL versions
Peter Laursen
Webyog
#29
Posted 06 March 2006 - 09:29 PM
Peter Laursen
Webyog
#30
Posted 07 March 2006 - 03:49 PM
<?php
declare(encoding="utf-8");
and all queries that SQLyog send must be converted to uft-8 using an appropriate C-string-function for this!
I guess that is how simple that is!
Is does NOT solve issues with the MySQL character sets such as turkish i-with-dot and i-without-dot. This is a MySQL issue and not a SQLyog issue!
Peter Laursen
Webyog

Sign In
Register
Help



MultiQuote