Ticket #492 (new defect)

Opened 2 years ago

Last modified 17 months ago

Chinese (in UTF-8) title/description becomes garbage when edit feed

Reported by: reporter Owned by: mbonetti
Priority: normal Milestone:
Component: BUGS Version:
Severity: normal Keywords:
Cc:

Description

I have many RSS feeds in Chinese (encoding in UTF-8), when editing them the title and description becomes garbage. The text is saved to DB properly when I cut and paste the title/description into the field and saved.

I am using revision 1754

Change History

Changed 2 years ago by reporter

this problem may be caused by http://svn.gregarius.net/trac/ticket/491 ??? I know sometimes the function that strip is not UTF-8 safe...

Changed 2 years ago by reporter

forgot to mention, I can be reached @ ymehui at the yahoo com dot

Edmond

Changed 17 months ago by reporter

I can confirm that this bug is caused by the incorrect use of the htmlentities function. By default it treats the string as ISO-8859-1. Instead, "UTF-8" or DEFAULT_OUTPUT_ENCODING should be specified.

I can be reached at ypwong at gmail Dot com

Anthony Wong

Note: See TracTickets for help on using tickets.