Welcome Guest, Not a member yet? Register   Sign In
chinese question: it is about code for saving message to database.GBK
#1

[eluser]fanxiaotao[/eluser]
My english is very bad, i am a chinese.
Not everyone like me.

I user php at the first.

My database is mysql.
When i was save message to database ,that like Video Demo.
The message had saved to database, But the code was error.

egg: I wanted to save "阿四大幅" ,but it was "闃垮洓澶у箙" in the database.

If you can konw what i say.

I hope somebody could gave me a good answer.

May be i just need modify a file, that my thinking.
#2

[eluser]fanxiaotao[/eluser]
my email:[email protected]

my msn:[email protected]

you can contact me!
#3

[eluser]cinewbie81[/eluser]
I dont think it has anything to do with your coding, more likely the database type that you created ..
#4

[eluser]fanxiaotao[/eluser]
The question is over.

I find the file :"CodeIgniter\system\scaffolding\views\header.php".

It have the code:"<meta http-equiv="Content-Type" content="text/html; charset=Utf-8" />".


I change the code "UTF-8" to "GBK".

Now i use the scaffolding to save message ,that is ok.

Thank you for your help.

This is my first time to ask anthor person by english.

My englist is not very well.

I hope my question ,that can help somebody.

Thank you!
#5

[eluser]cinewbie81[/eluser]
no worries ..
u csan ask the question by chinese though, cause im actually chinese Smile




Theme © iAndrew 2016 - Forum software by © MyBB