Opened 18 years ago

Closed 17 years ago

#1987 closed enhancement (duplicate)

CharField with treating UTF-8 encoding

Reported by: hironobu@… Owned by: Adrian Holovaty
Component: Core (Other) Version: dev
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Database: MySQL (<5.0)

"CharField" does not decode/encode UTF-8 string encoding. When CharField loads UTF-8 byte-sequence from database, directly holds it as attribute, and saves into database "as it is". There's no convertion to "Unicode" string internally.

Attachments (1)

django-utf8string.patch (2.5 KB ) - added by anonymous 18 years ago.

Download all attachments as: .zip

Change History (4)

by anonymous, 18 years ago

Attachment: django-utf8string.patch added

comment:1 by hironobu@…, 18 years ago

This will be because of database's encoding handling, so it will depend on database's product, kind, version, ...etc.

comment:2 by anonymous, 18 years ago

So how do you propose to solve this problem?

comment:3 by Adrian Holovaty, 17 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #952.

Note: See TracTickets for help on using tickets.
Back to Top