Re: utf8 character show as ???
Avi Laviad wrote:
> everytime that i do :
> SET character_set_client = utf8
> SET character_set_connection = utf8
> SET character_set_results = utf8;
>
> it seems to change the values (i do show variables
> to check it out),
> but after i logout and login again it returns to
> be latin1...
> why is that?
The variables set by SET command are effective within the connection.
If you don't want to do this everytime, you can add default-character-set = utf8 in [mysql] section of my.cnf file (if you are using mysql client program)
By the way, to change these three variables, you can simply execute one statement :)
SET NAMES utf8;
Subject
Views
Written By
Posted
9381
February 13, 2005 10:00PM
6378
February 14, 2005 09:19PM
4542
March 03, 2005 06:58PM
3997
December 30, 2005 01:39AM
3670
February 28, 2006 03:41AM
7225
October 16, 2005 09:33PM
3255
October 16, 2005 10:25PM
3474
May 07, 2005 08:43AM
2999
May 20, 2005 04:56PM
Re: utf8 character show as ???
3209
May 20, 2005 09:08PM
3030
May 09, 2005 03:17PM
3210
May 10, 2005 10:19AM
2896
May 20, 2005 09:01PM
3726
May 25, 2005 07:50AM
3109
May 20, 2005 08:38PM
2725
June 10, 2005 11:17AM
3929
June 22, 2005 04:48PM
2713
June 28, 2005 01:48AM
2610
July 06, 2005 02:02AM
2791
December 15, 2005 05:13AM
2861
July 11, 2005 05:21PM
2583
July 11, 2005 05:55PM
2703
July 11, 2005 07:50PM
2569
October 31, 2005 12:22AM
2689
November 03, 2005 05:12AM
2328
July 27, 2005 02:56PM
2682
August 04, 2005 08:57AM
2297
December 08, 2005 03:14AM
2778
April 05, 2006 10:09AM
2826
April 07, 2006 03:47PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.