MySQL Forums
Forum List  »  Chinese

Re: 中文乱码问题
Posted by: lalala fang
Date: October 15, 2007 08:56PM

1. 確定網頁的編碼是utf-8
2. 在進行sql語法前多執行以下的動作
SET CHARACTER SET utf8;
SET NAMES utf8;

試看看囉...^^

Options: ReplyQuote


Subject
Views
Written By
Posted
29277
September 17, 2007 04:36AM
Re: 中文乱码问题
10060
October 15, 2007 08:56PM
8865
December 05, 2007 11:56PM
9944
January 12, 2009 02:41AM
9754
April 07, 2009 01:31AM


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.