Django

Code

Ticket #1987 (closed: duplicate)

Opened 3 years ago

Last modified 2 years ago

CharField with treating UTF-8 encoding

Reported by: hironobu@nerv.or.jp Assigned to: adrian
Milestone: Component: Core framework
Version: SVN Keywords:
Cc: Triage Stage: Unreviewed
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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

django-utf8string.patch (2.5 kB) - added by anonymous on 05/24/06 03:07:28.

Change History

05/24/06 03:07:28 changed by anonymous

  • attachment django-utf8string.patch added.

05/24/06 03:10:15 changed by hironobu@nerv.or.jp

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

09/03/06 16:23:03 changed by anonymous

So how do you propose to solve this problem?

12/15/06 16:16:23 changed by adrian

  • status changed from new to closed.
  • resolution set to duplicate.

Duplicate of #952.


Add/Change #1987 (CharField with treating UTF-8 encoding)




Change Properties
Action