Chinese sorting and filtering on an table with charset utf-8

2011-03-07 Thread Tierlieb
Hello there! I'm trying to get some software ready to work with Chinese/Hanzi characters/graphems/sinograms. My tables, using mysql 5.x, use UTF-8 for all text data. It is not an option to change that for a local Chinese installation. Storing data works quite nicely. That's w

Fwd: Backing up MySQL using PHPMyAdmin problem with UTF-8

2010-10-18 Thread Tompkins Neil
MySQL Administrator 1.2.15 is fails with the same problem. Do anyone have any other suggestions ? -- Forwarded message -- From: Tompkins Neil Date: Fri, Oct 15, 2010 at 11:21 AM Subject: Re: Backing up MySQL using PHPMyAdmin problem with UTF-8 To: Michael Dykman Cc: "[

Re: Backing up MySQL using PHPMyAdmin problem with UTF-8

2010-10-15 Thread Tompkins Neil
pe InnoDB > > and encoding used is utf8_unicode_ci. The variables are set as follows : > > > > *MySQL connection collation: **utf8_unicode_ci* > > *MySQL charset: **UTF-8 Unicode (utf8)* > > *character set client: utf8* > > *character set connection: utf8* > >

Re: Backing up MySQL using PHPMyAdmin problem with UTF-8

2010-10-15 Thread Tompkins Neil
oDB > > and encoding used is utf8_unicode_ci. The variables are set as follows : > > > > *MySQL connection collation: **utf8_unicode_ci* > > *MySQL charset: **UTF-8 Unicode (utf8)* > > *character set client: utf8* > > *character set connection: utf8* > > *

Re: Backing up MySQL using PHPMyAdmin problem with UTF-8

2010-10-14 Thread Michael Dykman
ackup my MySQL database.  The database is of > type InnoDB > and encoding used is utf8_unicode_ci.  The variables are set as follows : > > *MySQL connection collation: **utf8_unicode_ci* > *MySQL charset: **UTF-8 Unicode (utf8)* > *character set client: utf8* > *character set

Backing up MySQL using PHPMyAdmin problem with UTF-8

2010-10-14 Thread Tompkins Neil
Hi, I'm using PHP MyAdmin to backup my MySQL database. The database is of type InnoDB and encoding used is utf8_unicode_ci. The variables are set as follows : *MySQL connection collation: **utf8_unicode_ci* *MySQL charset: **UTF-8 Unicode (utf8)* *character set client: utf8* *characte

Re: Storage of UTF-8 char in MySQL

2010-08-16 Thread Joerg Bruehe
Ryan,, all: Ryan Chan wrote: > According to this document: > http://dev.mysql.com/doc/refman/5.0/en/charset-unicode.html > > It said MySQL support UTF-8 using one to three bytes per character. > > But I have created a test table: > > -- create table test ( c char(5)

Re: Storage of UTF-8 char in MySQL

2010-08-16 Thread Werner Van Belle
Ryan Chan wrote: > According to this document: > http://dev.mysql.com/doc/refman/5.0/en/charset-unicode.html > > It said MySQL support UTF-8 using one to three bytes per character. > > But I have created a test table: > > -- create table test ( c char(5) ) default char

Storage of UTF-8 char in MySQL

2010-08-14 Thread Ryan Chan
According to this document: http://dev.mysql.com/doc/refman/5.0/en/charset-unicode.html It said MySQL support UTF-8 using one to three bytes per character. But I have created a test table: -- create table test ( c char(5) ) default charset =utf8; >From the table status, the data length

Re: troubles with complex UTF-8 characters

2009-10-06 Thread Jaime Crespo
On Martes, 6 de Octubre de 2009 11:03:12 Daniel Drake escribió: > Hi, > > I'm having trouble working with specific UTF-8 characters. For > example, the U+10330 character (UTF8: 0xF0 0x90 0x8C 0xB0). MySQL currently only supports Basic Multilingual Plane characters: up to 3-

troubles with complex UTF-8 characters

2009-10-06 Thread Daniel Drake
Hi, I'm having trouble working with specific UTF-8 characters. For example, the U+10330 character (UTF8: 0xF0 0x90 0x8C 0xB0). Background: I am trying to clone wiktionary onto local intranets in a series of (disconnected) schools in Nepal. I'm encountering these problems when trying

mysql with latest utf-8

2009-07-06 Thread Alagar samy
Hi,as per mysql-5.1 documentation, it can support one to three byte sequences for utf-8 .. but latest 6.0 code had support for one to four byte sequence, but it is not supported anymore...  do you  have any plan for supporting latest utf-8 in mysql-5.1? or atleast if it is possible to backport

Re: convertion to utf-8

2008-07-03 Thread Pooly
2008/7/1 Dan Nelson <[EMAIL PROTECTED]>: > In the last episode (Jun 30), Pooly said: >> 2008/6/30 Dan Nelson <[EMAIL PROTECTED]>: >> > In the last episode (Jun 29), Pooly said: >> >> Hi, >> >> >> >> I'm trying to convert my tables to UTF8 but I'm getting the >> >> following error: ERROR 1062 (23000

Re: convertion to utf-8

2008-06-30 Thread Dan Nelson
In the last episode (Jun 30), Pooly said: > 2008/6/30 Dan Nelson <[EMAIL PROTECTED]>: > > In the last episode (Jun 29), Pooly said: > >> Hi, > >> > >> I'm trying to convert my tables to UTF8 but I'm getting the > >> following error: ERROR 1062 (23000): Duplicate entry 'Zorglüb' for > >> key 1 > >>

Re: convertion to utf-8

2008-06-30 Thread Pooly
Hi, 2008/6/30 Dan Nelson <[EMAIL PROTECTED]>: > In the last episode (Jun 29), Pooly said: >> Hi, >> >> I'm trying to convert my tables to UTF8 but I'm getting the following error: >> ERROR 1062 (23000): Duplicate entry 'Zorglüb' for key 1 >> >> Not too sure why I'm getting this error since the cur

RE: convertion to utf-8

2008-06-30 Thread Jerry Schwartz
>-Original Message- >From: Pooly [mailto:[EMAIL PROTECTED] >Sent: Sunday, June 29, 2008 5:52 PM >To: mysql@lists.mysql.com >Subject: convertion to utf-8 > >Hi, > >I'm trying to convert my tables to UTF8 but I'm getting the following >error: >E

Re: convertion to utf-8

2008-06-29 Thread Dan Nelson
In the last episode (Jun 29), Pooly said: > Hi, > > I'm trying to convert my tables to UTF8 but I'm getting the following error: > ERROR 1062 (23000): Duplicate entry 'Zorglüb' for key 1 > > Not too sure why I'm getting this error since the current (latin1) data are: > mysql> select * from topics

convertion to utf-8

2008-06-29 Thread Pooly
Hi, I'm trying to convert my tables to UTF8 but I'm getting the following error: ERROR 1062 (23000): Duplicate entry 'Zorglüb' for key 1 Not too sure why I'm getting this error since the current (latin1) data are: mysql> select * from topics_lookup where label like 'Zor%'; +--+--+

RE: latin1 vs UTF-8

2008-05-13 Thread Jerry Schwartz
53 AM >To: MySQL List >Subject: Re: latin1 vs UTF-8 > >Waynn Lue wrote: >> >> I'm getting a weird ^A character when I >> try to print it out in a textarea field. > >In that case, what character set does the browser think it should be >using for the page? If

Re: latin1 vs UTF-8

2008-05-13 Thread Warren Young
et is set to latin1? Unless you're on a very old or strangely configured system, your terminal is probably configured for UTF-8. Since your DB is in Latin-1, there's a character set translation in there, and I can't confidently predict what will happen. In this modern world, it's

Re: latin1 vs UTF-8

2008-05-13 Thread Waynn Lue
> > I assume I should check if my mysql has support for UTF-8, > > > > I believe it just has to be 4.1 or newer. And, that's only necessary so > you can get UTF-8 aware sorting and such. You don't need any special > support to just _store_ UTF-8 data. Ah,

RE: latin1 vs UTF-8

2008-05-12 Thread Jerry Schwartz
: 860.674.8341 www.the-infoshop.com www.giiexpress.com www.etudes-marche.com >-Original Message- >From: Waynn Lue [mailto:[EMAIL PROTECTED] >Sent: Saturday, May 10, 2008 7:37 AM >To: mysql@lists.mysql.com >Subject: latin1 vs UTF-8 > >I'm trying to store the symbol

Re: latin1 vs UTF-8

2008-05-12 Thread Warren Young
t to convert a dump file, but you're already on record as not wanting to do that, so... I assume I should check if my mysql has support for UTF-8, I believe it just has to be 4.1 or newer. And, that's only necessary so you can get UTF-8 aware sorting and such. You don't need an

latin1 vs UTF-8

2008-05-10 Thread Waynn Lue
I'm trying to store the symbol (R) (that's the registered trademark symbol) in my database, but I get a weird Ctrl-A (^A) character whenever I try. At first, I thought it was because I was calling htmlentities without passing in "UTF-8" as the last argument, but that o

UTF-8 sorting

2008-03-24 Thread C K
Hi, I am getting a problem while making a sort on any column having character set as UTF-8. The soring from a view or a query through ODBC is very slow. I have data in us-english and marathi languages at a time. Sorting is proper but very time consuming! What to do to solve this problem? Your

Re: How to match a UTF-8 field with acute vowels words in "BOOLEAN MODE"?

2007-09-21 Thread thomas Armstrong
"' IN BOOLEAN MODE) ORDER BY firstname, lastname > > > > > > If mytable is in latin1, it works fine. But if mytable is in utf8 > > (it's the case) it doesn't work. How can I change my SQL query to > > match 'Fernández' in UTF8 within

RE: How to match a UTF-8 field with acute vowels words in "BOOLEAN MODE"?

2007-09-21 Thread Edward Kay
ow can I change my SQL query to > match 'Fernández' in UTF8 within the table? If the data in the UTF-8 table consists of UTF-8 characters then it should work fine. If it this is the case but it doesn't work, I suspect the issue is that whatever client you are using to send you

Re: How to match a UTF-8 field with acute vowels words in "BOOLEAN MODE"?

2007-09-21 Thread thomas Armstrong
My ft configuration in /etc/my.conf: -- ft_min_word_len=1 ft_stopword_file='' - On 9/21/07, thomas Armstrong <[EMAIL PROTECTED]> wrote: > Hi. > > Using mySQL 4.1.22, I'd like to carry out an SQL query to find a > string containing acute vowels. > > mytable: > - item1: > --- firstname: Anto

Re: How to match a UTF-8 field with acute vowels words in "BOOLEAN MODE"?

2007-09-21 Thread mysql
Apart from the character-set, did you check your collation-sequences? SHOW GLOBAL VARIABLES like "collation%"; collation sequences can be set on the server-level, database-level, table-level... suomi thomas Armstrong wrote: Hi. Using mySQL 4.1.22, I'd like to carry out an SQL query to find

How to match a UTF-8 field with acute vowels words in "BOOLEAN MODE"?

2007-09-21 Thread thomas Armstrong
Hi. Using mySQL 4.1.22, I'd like to carry out an SQL query to find a string containing acute vowels. mytable: - item1: --- firstname: Antonio --- lastname: Fernández --- comments: he's from Spain My SQL query: -- SELECT id FROM mytable WHERE MATCH(firstname, lastname, comments) AGAINST ('+"f

Re: converting some rows from utf-8 to iso-8859-1

2007-08-31 Thread Olav Mørkrid
a table column is supposed to contain text in iso-8859-1, but utf-8 > > encoding have snuck in on a few rows by mistake, how are these rows > > converted into iso-8859-1? > > > > what i am looking for is something like this: > > > > update mytable set mycolumn = u

Re: converting some rows from utf-8 to iso-8859-1

2007-08-30 Thread Ken Peng
On Thu, 30 Aug 2007 11:41:14 +0200, "Olav Mørkrid" <[EMAIL PROTECTED]> said: > if a table column is supposed to contain text in iso-8859-1, but utf-8 > encoding have snuck in on a few rows by mistake, how are these rows > converted into iso-8859-1? > > what i a

converting some rows from utf-8 to iso-8859-1

2007-08-30 Thread Olav Mørkrid
if a table column is supposed to contain text in iso-8859-1, but utf-8 encoding have snuck in on a few rows by mistake, how are these rows converted into iso-8859-1? what i am looking for is something like this: update mytable set mycolumn = utf8toiso88591(mycolumn) where id between 500 and 600

Re: Suse Linux (SLES10), Portuguese characters and "dead keys" in "MySQL monitor" in SSH sessions with Unicode (UTF-8)

2007-08-08 Thread Ricardo Dias Marques
lient), when I'm in a SSH (Secure Shell) Session, in a SUSE Linux Enterprise Server 10, configured to use Unicode (UTF-8 encoding). The Portuguese accented characters appeared well, in the same SSH session, for other shell (bash) commands and in Vim editing sessions (using the same Portuguese keyb

Suse Linux (SLES10), Portuguese characters and "dead keys" in "MySQL monitor" in SSH sessions with Unicode (UTF-8)

2007-07-31 Thread Ricardo Dias Marques
Session, in a Linux Server configured to use Unicode (UTF-8 encoding). I'm using "dead keys" - http://en.wikipedia.org/wiki/Dead_key - to enter the accented characters. That is, if I press the ã (tilde sign) key on my keyboard and then press "a" (lowercase a) then I get &q

Re: Field size for UTF-8 characters

2007-07-03 Thread Kenji HIROHAMA
I believe varchar(50) means 50 characters, not 50 bytes. So, usually I don't care when designing table schema at all, for Japanese characters. On 7/3/07, Cathy Murphy <[EMAIL PROTECTED]> wrote: I am limiting text to 50 chars in mysql field by varchar(50) ( UTF-8 enabled) but what

Re: Field size for UTF-8 characters

2007-07-03 Thread Ben Clewett
151 chars, when fully populated. Ben Cathy Murphy wrote: I am limiting text to 50 chars in mysql field by varchar(50) ( UTF-8 enabled) but what if the user enters 50 japanese chars, does mysql accomodate it OR we have to consider some buffer during design ? -- MySQL General Mailing List For l

Field size for UTF-8 characters

2007-07-02 Thread Cathy Murphy
I am limiting text to 50 chars in mysql field by varchar(50) ( UTF-8 enabled) but what if the user enters 50 japanese chars, does mysql accomodate it OR we have to consider some buffer during design ? -- Cathy www.nachofoto.com

Re: UTF-8 collation problem with greek extended characters

2007-02-05 Thread Sven Fuchs
Am 05.02.2007 um 18:11 schrieb Chris White: SELECT * FROM tablename WHERE fieldname LIKE BINARY '[greek small eta]' that *should* ( see disclaimer ;) ) give you what you need Yes, it does. I should have also asked for SELECT DISTINCT fieldname ... in the first place, but looking at your an

Re: UTF-8 collation problem with greek extended characters

2007-02-05 Thread Chris White
Sven Fuchs wrote: These characters are stored/retrieved correctly. But they are wrongly regarded the same character by statements like SELECT * FROM tablename WHERE fieldname LIKE '[greek small eta]' The database's character-set is set to "UTF-8 Unicode (utf8)" and

UTF-8 collation problem with greek extended characters

2007-02-05 Thread Sven Fuchs
ypogegrammenti These characters are stored/retrieved correctly. But they are wrongly regarded the same character by statements like SELECT * FROM tablename WHERE fieldname LIKE '[greek small eta]' The database's character-set is set to "UTF-8 Unicode (utf8)" and the ta

Re: MyISAM issues for UTF-8?

2007-01-16 Thread Dotan Cohen
On 15/01/07, Gabriel PREDA <[EMAIL PROTECTED]> wrote: Read here: http://dev.mysql.com/doc/refman/5.1/en/charset-connection.html have fun ! -- -- -- -- -- -- -- -- -- -- -- -- -- -- Gabriel PREDA Senior Web Developer Thanks. Been quite a while since I've deserved a good RTFM! :) Dotan Cohen h

Re: MyISAM issues for UTF-8?

2007-01-15 Thread Gabriel PREDA
Read here: http://dev.mysql.com/doc/refman/5.1/en/charset-connection.html have fun ! -- -- -- -- -- -- -- -- -- -- -- -- -- -- Gabriel PREDA Senior Web Developer -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTE

Re: MyISAM issues for UTF-8?

2007-01-15 Thread Dotan Cohen
On 15/01/07, Gabriel PREDA <[EMAIL PROTECTED]> wrote: Why is MyISAM problematic... MyISAM is a storage engine with some features... InnoDB is another storage engine with other features... and so on... As far as I know MyISAM is default storage engine... unless you specify by hand another storage

Re: MyISAM issues for UTF-8?

2007-01-15 Thread Gabriel PREDA
Why is MyISAM problematic... MyISAM is a storage engine with some features... InnoDB is another storage engine with other features... and so on... As far as I know MyISAM is default storage engine... unless you specify by hand another storage engine: CREATE TABLE xyz (colX INT NULL) ENGINE=_STORA

MyISAM issues for UTF-8?

2007-01-14 Thread Dotan Cohen
I'm storing Hebrew text in a MySQL database as utf-8. I recently saw a referece to MySQL utf-8 implementations that warned that if one stores utf-8 text, he must use the problematic MyISAM engine. So, must I use this engine? How do I check which engine I'm using? I've never set a

UTF-8 sorting problem

2007-01-12 Thread Joakim Lemström
Hello I've got a problem,, I've tried to search the archive for this list with no luck. Maybe it's because Unicode problems isn't that rare... Anyway .. Here is my problem. Sorting on a VARCHAR collate utf8_swedish_ci (table with default charset utf8).. As many probably know, in Swedish

Re: PHP connects in Latin1 when it should do it in UTF-8

2006-07-09 Thread Santiago del Castillo
on is the one i was using until now :). Eric Butera wrote: > On 7/6/06, Santiago del Castillo <[EMAIL PROTECTED]> wrote: > >> Hi, i'm having a bit of a headache with PHP and MySQL, i've some >> questions: >> >> >> 1) I've a database in UTF-8

Re: PHP connects in Latin1 when it should do it in UTF-8

2006-07-07 Thread Eric Butera
On 7/6/06, Santiago del Castillo <[EMAIL PROTECTED]> wrote: Hi, i'm having a bit of a headache with PHP and MySQL, i've some questions: 1) I've a database in UTF-8 and when i connect to it with mysql_connect, and exec a query with mysql_query, the results are in latin1

PHP connects in Latin1 when it should do it in UTF-8

2006-07-06 Thread Santiago del Castillo
Hi, i'm having a bit of a headache with PHP and MySQL, i've some questions: 1) I've a database in UTF-8 and when i connect to it with mysql_connect, and exec a query with mysql_query, the results are in latin1. (i proved this with mysql_query("show variables like 'char

Re: Unicode (UTF-8) question

2006-03-23 Thread 古雷
w. regards, gu lei - Original Message - From: "Daniel Levy" <[EMAIL PROTECTED]> To: "古雷" <[EMAIL PROTECTED]> Sent: Thursday, March 23, 2006 3:26 PM Subject: Re: Unicode (UTF-8) question > Dear Gu Lei, > > Again, thank you very much for your r

Re: Bulk conversion of 3.23 latin1 to 4.1 utf-8

2006-02-20 Thread David Spidley
Thank you for your reply, but I'm afraid it doesn't help :( The new setup we are moving to is utf-8 only (Apache, mysql). Making some of the data latin1 and some of it utf-8 will complicate things, we want to move away from different character encodings, which is why we are using

Re: Bulk conversion of 3.23 latin1 to 4.1 utf-8

2006-02-20 Thread sheeri kritzer
I also had problems converting latin1 to utf-8. For whatever reason, accents and stuff did not convert. The solution was not to convert to utf-8. If you create your tables with the character set of latin1, you should be fine (that's what we did). After all, you are already upgrading -

Re: Bulk conversion of 3.23 latin1 to 4.1 utf-8

2006-02-18 Thread David Spidley
> -Original Message- > From: [EMAIL PROTECTED] > Sent: Sat, 18 Feb 2006 00:12:19 +0100 > To: [EMAIL PROTECTED] > Subject: Re: Bulk conversion of 3.23 latin1 to 4.1 utf-8 > > On 17.02.2006 15:34 (+0100), David Spidley wrote: >> What is the official way to tak

Re: Bulk conversion of 3.23 latin1 to 4.1 utf-8

2006-02-17 Thread Yves Goergen
On 17.02.2006 15:34 (+0100), David Spidley wrote: > What is the official way to take this latin1 3.23 dump and load it > into the brand new 4.1 utf-8 database, with the characters being > converted during the load? I'm not sure if the official way will help you. I've tried to

Bulk conversion of 3.23 latin1 to 4.1 utf-8

2006-02-17 Thread David Spidley
Hello, I have a few hundred databases, with lots of tables and data, German and English characters. I'd like to upgrade to 4.1, but am concerned at losing or corrupting data in the process. What is the official way to take this latin1 3.23 dump and load it into the brand new 4.1

RE: Converting database and its tables to UTF-8

2006-02-14 Thread Peter Lauri
: Gabriel PREDA [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 6:30 PM To: mysql@lists.mysql.com Cc: Peter Lauri Subject: Re: Converting database and its tables to UTF-8 Hi Peter, That will be a lot of work ! 1. First make a back-up... it's always a good ideea ! 2. For every

Re: Converting database and its tables to UTF-8

2006-02-14 Thread Gabriel PREDA
t database tables with different chartsets and even in a table you can have columns with other chartsets... Gabriel PREDA Senior Web Developer On 2/14/06, Peter Lauri <[EMAIL PROTECTED]> wrote: > > Hi, > I have a database with around 40 tables that needs to be

Converting database and its tables to UTF-8

2006-02-14 Thread Peter Lauri
Hi, I have a database with around 40 tables that needs to be converted to UTF-8 to support multi languages. What is the best procedure to do this? And is it any way to change the default charset to UFT-8 so tables by default will become UFT-8? And can I have one table with different

回复: Re: MySQL 4.1.13 and utf-8 lang uage encoding

2006-02-02 Thread 立 周
--- Chenzhou Cui <[EMAIL PROTECTED]>写道: > 由于MySQL > 列表中绝大多数都是英文用户,我建议你在给大家发送或者回复消息时 > 不要带上许多汉字,这样会让那些非中文的朋友很尴尬。 > Chinese chracters are automatically added by Yahoo, not me. Regards, Lionel ___ 雅虎

Query Browser and MySQL 4.0 <-> UTF-8

2006-01-17 Thread Yves Goergen
Hello everybody, I'm using Query Browser 1.1.17 on Windows with a MySQL 4.0 database server on Linux and was just editing a piece of text for a web CMS in the database. But what do I get to see there? The content was stored as UTF-8, although the website uses ISO-8859-1 encoding, the dat

回复: MySQL 4.1.13 and utf-8 language encoding

2006-01-04 Thread 维斯 苏
firstly,I don't use utf8,then maybe this will help you,first dump out your in sql form,then find a mysql 4.1 with phpmyadmin 2.5* computer,or make one,then deploy your sql in the latin mode,then dump out it again,redeploy it on your web host,i think it will do,and no matter how you modify phpmya

Re: Exporting utf-8 data problems

2006-01-04 Thread mel list_php
y updating to 2.6.4 I've been able to set up the language in phpmyadmin as en-utf-8, and now when I use this interface the data are actually utf8 in the tables. hth, melanie From: Dave M G <[EMAIL PROTECTED]> To: mysql@lists.mysql.com Subject: Re: Exporting utf-8 data problems Date

RE: Exporting utf-8 data problems

2006-01-04 Thread Lopez David E-r9374c
dave I believe group is a reserved word. change to grp. david -Original Message- From: Dave M G [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 04, 2006 8:55 AM To: mysql@lists.mysql.com Subject: Re: Exporting utf-8 data problems Thank you for the advice. In

Re: Exporting utf-8 data problems

2006-01-04 Thread Dave M G
Thank you for the advice. In order to isolate the problem, I have checked to see if the text file that I have exported from the MySQL server on my virtual host is, in fact, in UTF-8. By opening it in OpenOffice and selecting UTF-8 encoding, it displays correctly

Re: Exporting utf-8 data problems

2006-01-04 Thread Gleb Paharenko
I have all the PHP and HTML files downloaded, and now my next step is > to copy the databases from my web hosting service to my home machine. > > A lot of my database data is bilingual, English and Japanese. I try at > every turn to store and retrieve all data in UTF-8 f

Re: Exporting utf-8 data problems

2006-01-04 Thread Thomas Spahni
osting service to my home machine. > > A lot of my database data is bilingual, English and Japanese. I try at > every turn to store and retrieve all data in UTF-8 format. > > Using phpMyAdmin on my virtual hosting service, I exported my database > information to a tex

Exporting utf-8 data problems

2006-01-03 Thread Dave M G
is to copy the databases from my web hosting service to my home machine. A lot of my database data is bilingual, English and Japanese. I try at every turn to store and retrieve all data in UTF-8 format. Using phpMyAdmin on my virtual hosting service, I exported my database information

回复: MySQL 4.1.13 and utf-8 language encoding

2006-01-02 Thread 立 周
--- 维斯 苏 <[EMAIL PROTECTED]>写道: > just use phpmyadmin 2.5* because the 2.6* default > use utf8,what you need to do is dump out your old > mysql in sql form, use phpmyadmin 2.5* to redeploy > it on 4.1*. That is it. > I don't have control over phpmyadmin version because it is on a shared hosting

回复: MySQL 4.1.13 and utf-8 language encoding

2006-01-01 Thread 维斯 苏
just use phpmyadmin 2.5* because the 2.6* default use utf8,what you need to do is dump out your old mysql in sql form, use phpmyadmin 2.5* to redeploy it on 4.1*. That is it. 立 周 <[EMAIL PROTECTED]> 写道: Hello list: I have a php website which uses utf-8 encoding. But recently the

回复: Re: MySQL 4.1.13 and utf-8 lang uage encoding

2006-01-01 Thread 立 周
| FAX: > (8610)64878240 > Datun Road 20A, Chaoyang District | Email: > [EMAIL PROTECTED] > Beijing 100012, China | WWW: > www.lamost.org/~cb > ======== > > > ;-(,anyone else out there get Simplified Chine

MySQL 4.1.13 and utf-8 language encoding

2005-12-31 Thread 立 周
Hello list: I have a php website which uses utf-8 encoding. But recently the shared hosting company has upgraded mySQL to 4.1.13 and now all varchars are shown incorrectly ( all collation attribute are set as latin_swidish_ci now" ).. the phpMyAdmin verson is 2.6.4-pl2. my site is at

Re: Edit utf-8 tables via the client

2005-12-07 Thread Gleb Paharenko
gt; I'm using mysql-standard-4.1.14 and mysql-client-4.1.14 on a RH9 machine, > I have utf-8 tables with hebrew data. When using the client I see the > hebrew as question marks. > I would like to view and edit the data via the client. > I've tried using a terminal th

Edit utf-8 tables via the client

2005-12-07 Thread Yair Zohar
Hello, I'm using mysql-standard-4.1.14 and mysql-client-4.1.14 on a RH9 machine, I have utf-8 tables with hebrew data. When using the client I see the hebrew as question marks. I would like to view and edit the data via the client. I've tried using a terminal that is surely ab

Re: does mysql 4.0.25 standard support utf-8?

2005-10-27 Thread Jeff Smelser
On Thursday 27 October 2005 03:51 pm, [EMAIL PROTECTED] wrote: > hy! I've been trying to find this piece of information in the manual, but > seem to have some trouble. so I'm asking it out loud: I'd like to know > whether mysql 4.0.25 supports utf-8 as an internal encodi

does mysql 4.0.25 standard support utf-8?

2005-10-27 Thread mihai.chira
hy! I've been trying to find this piece of information in the manual, but seem to have some trouble. so I'm asking it out loud: I'd like to know whether mysql 4.0.25 supports utf-8 as an internal encoding. Because a server I like has this version and I need to deploy a

Re: Charset problems (utf-8 -> latin1)

2005-09-21 Thread Alexey Polyakov
Also the good way of doing conversion itself is mysqldump table structure, then import the dump, launch mysql command line utility (or use phpmyadmin for that) and alter encoding on database and all needed tables and columns, then mysqldump the first database using utf8 charset (without dropping ta

Re: Charset problems (utf-8 -> latin1)

2005-09-21 Thread Alexey Polyakov
First, check if actual data in your tables after this conversion is really properly encoded. Launch your mysql command line client, execute SET NAMES latin1; and do some selects on your table data to see if it's readable. If it is, then all you need is to make PHP use latin1 when reading data from

Charset problems (utf-8 -> latin1)

2005-09-21 Thread Morten Fangel
Hi, I'm trying to migrate an old system to a newer - while doing that I have to move the database. The old database i UTF-8 encoded, and the new one is Latin-1. To move the data I'm doing something similar to: INSERT INTO new_db.table (new_db.field) SELECT CONVERT(old_db.field US

Re: Change table encoding to UTF-8

2005-08-25 Thread Gleb Paharenko
.html http://dev.mysql.com/doc/mysql/en/alter-database.html MightyData <[EMAIL PROTECTED]> wrote: > What is the proper procedure to change the table (or database encoding) from > latin1 to UTF-8 with MySQL 4.1.x? My thought is to export the data to text > file, drop the

Re: Change table encoding to UTF-8

2005-08-25 Thread Andreas Steichardt
On Wednesday 24 August 2005 20:01, MightyData wrote: > What is the proper procedure to change the table (or database encoding) > from latin1 to UTF-8 with MySQL 4.1.x? My thought is to export the data to > text file, drop the table, recreate the table with the proper encoding and > the

Change table encoding to UTF-8

2005-08-24 Thread MightyData
What is the proper procedure to change the table (or database encoding) from latin1 to UTF-8 with MySQL 4.1.x? My thought is to export the data to text file, drop the table, recreate the table with the proper encoding and then import the data. Is there a better way or something I missed

Re: Switching legacy tables from 4.0 to 4.1 -AND- from default to UTF-8 .... ADVICE ANYONE?

2005-07-17 Thread Bruce Dembecki
ut of 4.0 and correctly converted on it's way in to 4.1 Wow! Really? This part amazes me. So the MySQL importing process seems to do the converting of the special characters into the newly-defined encoding format? (from latin1 to utf-8 in my case) See - we do webhosting for clients around

Re: Switching legacy tables from 4.0 to 4.1 -AND- from default to UTF-8 .... ADVICE ANYONE?

2005-07-16 Thread Bruce Dembecki
ut of 4.0 and correctly converted on it's way in to 4.1 Wow! Really? This part amazes me. So the MySQL importing process seems to do the converting of the special characters into the newly-defined encoding format? (from latin1 to utf-8 in my case) See - we do webhosting for clients around

Re: Switching legacy tables from 4.0 to 4.1 -AND- from default to UTF-8 .... ADVICE ANYONE?

2005-07-15 Thread Miles Keaton
ut of 4.0 and correctly converted on it's way in to 4.1 Wow! Really? This part amazes me. So the MySQL importing process seems to do the converting of the special characters into the newly-defined encoding format? (from latin1 to utf-8 in my case) See - we do webhosting for clients around

Re: Switching legacy tables from 4.0 to 4.1 -AND- from default to UTF-8 .... ADVICE ANYONE?

2005-07-15 Thread Bruce Dembecki
I've got some years-old MySQL databases mostly in 4.0, but one server running 3.23 that are all using the default encoding. I want to update all their data to 4.1 with UTF-8 encoding. Anyone done this kind of dump-and-update?Any advice to share or good URLs you've seen with othe

Re: Switching legacy tables from 4.0 to 4.1 -AND- from default to UTF-8 .... ADVICE ANYONE?

2005-07-15 Thread Gleb Paharenko
ySQL databases mostly in 4.0, but one server > running 3.23 that are all using the default encoding. > > I want to update all their data to 4.1 with UTF-8 encoding. > > Anyone done this kind of dump-and-update?Any advice to share or > good URLs you've seen with others&#

Switching legacy tables from 4.0 to 4.1 -AND- from default to UTF-8 .... ADVICE ANYONE?

2005-07-14 Thread Miles Keaton
I've got some years-old MySQL databases mostly in 4.0, but one server running 3.23 that are all using the default encoding. I want to update all their data to 4.1 with UTF-8 encoding. Anyone done this kind of dump-and-update?Any advice to share or good URLs you've seen with othe

Re: Unicode UTF-8 database

2005-06-29 Thread Gleb Paharenko
show variables like '%char%'; that all your connection variables have utf8 value. "Roberto Jobet" <[EMAIL PROTECTED]> wrote: > Hi, > > I've read the whole > chapter 10 but I > haven't found any > instruct= > ions on h

Re: Unicode UTF-8 database

2005-06-29 Thread Roberto Jobet
Hi, I've read the whole chapter 10 but I haven't found any instructions on how to setup a UTF-8 database... Is there any guide on how to setup this ? Thanks for any help Regards Roberto > "Gleb Paharenko" <[EMAIL PROTECTED]> wrote: > Hello. > > First

Re: Unicode UTF-8 database

2005-06-24 Thread Gleb Paharenko
f foreign > languages. > > Do I have to setup a > UTF-= > 8 unicode > database ? > > Does anyone have a > step-by-step guide > on how t= > o achieve > this ? > > Thanks for any help > > Regards > > Roberto=0A=0A=0A=0A= >

Unicode UTF-8 database

2005-06-24 Thread Roberto Jobet
Hi, I'm using MySQL 4.1.11 I need to setup a multilingual database to support a lot of foreign languages. Do I have to setup a UTF-8 unicode database ? Does anyone have a step-by-step guide on how to achieve this ? Thanks for any help Regards Ro

Re: LENGTH() and UTF-8

2005-05-09 Thread Andreas Steichardt
On Monday 09 May 2005 12:24, John Doe wrote: > Am Montag, 9. Mai 2005 11.55 schrieb Andreas Steichardt: > > Hi! > > > > We are storing UTF-8 data in out mysql database and we need to get the > > length of the data. But length() doesn't return the number of chara

Re: LENGTH() and UTF-8

2005-05-09 Thread Jochem van Dieten
On 5/9/05, Andreas Steichardt wrote: > > We are storing UTF-8 data in out mysql database and we need to get the > length > of the data. But length() doesn't return the number of characters but the > pure number of bytes. Look at OCTET_LENGTH() and CHAR_LENGTH(). (While

Re: LENGTH() and UTF-8

2005-05-09 Thread John Doe
Am Montag, 9. Mai 2005 11.55 schrieb Andreas Steichardt: > Hi! > > We are storing UTF-8 data in out mysql database and we need to get the > length of the data. But length() doesn't return the number of characters > but the pure number of bytes. > > SELECT LENGTH('kö

LENGTH() and UTF-8

2005-05-09 Thread Andreas Steichardt
Hi! We are storing UTF-8 data in out mysql database and we need to get the length of the data. But length() doesn't return the number of characters but the pure number of bytes. SELECT LENGTH('köter') => 6 Currently we are doing something like that: SELECT LENGTH(CONVERT(&

UTF-8 problems in text fields

2005-04-22 Thread Douglas Anderson
MySQL: 4.1.11 OS: Solaris I have a database that stores Japanese in utf-8. I have NO problems if the field is defined as VARCHAR, but if the field is defined as TEXT any data after an extended character (Japanese, special symbols etc.) gets truncated. Looking at the archives I ran the

Re: Strange Issues (UTF-8)

2005-02-28 Thread brian ally
or character sequence. You say you are using a web application; are you sure that you're sending the page as UTF-8? Which Content-type header are you sending? And if you are receiving form-submitted text(I don't know anything about SQLyog nor MySQLCC) perhaps this page might help: htt

UTF-8 + collations

2005-02-18 Thread Andreas Steichardt
Hi! We are trying to migrate our applications to UTF-8 and so we started testing the new features of MySQL 4.1 (still using 4.0 currently). But we are facing some problems now. In our applications it could be theoretically the case that there is arabic, hebrew, japanese and korean content in

Re: How to set character set UTF-8 for mysqldump

2005-01-20 Thread Gleb Paharenko
Hello. See: http://dev.mysql.com/doc/mysql/en/Problems_with_character_sets.html "Manish" <[EMAIL PROTECTED]> wrote: > How can I set character set as UTF-8 for mysqldump command? > When I try this, I get an error - > > mysqldump --default-char

  1   2   >