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
27953
September 17, 2007 04:36AM
Re: 中文乱码问题
9620
October 15, 2007 08:56PM
8623
December 05, 2007 11:56PM
8141
January 12, 2009 02:41AM
9006
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.