#2393 closed defect (bug) (fixed)
Encoding problem while uploader is used
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.0.2 |
Component: | General | Keywords: | bg|has-patch |
Focuses: | Cc: |
Description
When I use the upoader to upload my image and write the title and the description in Russian, the "alt" attribute become a garbage encoding when I send the image to the editor. The "title" attribute does not appear. Can you kindly fix it?
Attachments (1)
Change History (10)
#5
@
19 years ago
We typically never use htmlentities due to the encoding issues. Let's remove the htmlentities references entirely. Passing blog_charset as the encoding is not always sufficient.
#6
@
19 years ago
- Resolution set to fixed
- Status changed from new to closed
wp_specialchars is in where htmlentities was suggested. Tested inline-uploading functions extensively on a utf-8 blog. Ticket author leaves no mention of charset, so utf-8 was (hopefully) assumed.
#7
@
19 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
This looks good in 2.1 but let's get it fixed for 2.0.4.
Note: See
TracTickets for help on using
tickets.
I've found that it is caused by incorrect use of htmlentities, I've fixed it with the following patch:
Can developers have a look at this?