Bugs: Browse | Submit New | Admin

[#28220] Encoding problem

Date:
2010-05-19 15:30
Priority:
3
Submitted By:
Bruno Michel (nono)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
Encoding problem

Detailed description
Hi, I have an encoding problem with mysql:

conn = Mysql.init
conn.options(Mysql::READ_DEFAULT_GROUP, "client") # <- without this option, it works as I expect it
conn.options(Mysql::SET_CHARSET_NAME, "latin1")
conn.conn.character_set_name # => "latin1"
conn.real_connect(...)
conn.conn.character_set_name # => "utf8", but I expected "latin1"

Is it my fault? If not, can you fix it?

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item