Ticket #455 (closed Bug: fixed)
Problem when select a chinese files in FCKeditor
| Reported by: | reiner | Owned by: | alfonsoml |
|---|---|---|---|
| Priority: | Normal | Milestone: | FCKeditor 2.4.3 |
| Component: | Server : PHP | Version: | FCKeditor 2.4.2 |
| Keywords: | Confirmed | Cc: |
Description
We can upload a chinese file with FCKeditor, but when we want select the file, it don't show us chinese Characters, it show us only some strange characters 測試1.GIF.
When you go to browse server, you can see that the file is show with this strange characters. On the server self the file is stored right.
Tested it with Linux and Windows OS, With Firefox and Internet Explorer
I attached some files that you can test it
Attachments
Change History
Changed 5 years ago by reiner
-
attachment
Chinese-Character-error.gif
added
comment:1 Changed 5 years ago by alfonsoml
- Keywords Confirmed added; Chinese Characters removed
- Owner changed from fredck to alfonsoml
- Status changed from new to assigned
- Milestone FCKeditor 2.4.3 deleted
I've been able to reproduce by removing the call to utf8_encode in function ConvertToXmlAttribute( $value ), but I'm not sure if it can break other things.
I'll check the patch along other changes for #454 in my branch.
comment:2 Changed 5 years ago by alfonsoml
Sorry, I meant:
I've been able to reproduce the problem, and I fixed it by removing the call to utf8_encode ...
comment:4 Changed 5 years ago by alfonsoml
https://sourceforge.net/tracker/index.php?func=detail&aid=1183486&group_id=75348&atid=543653 has been marked as dup.
comment:5 Changed 5 years ago by fredck
- Milestone set to FCKeditor 2.5
I don't think the call to utf8_encode is really needed (actually it is wrong). You may commit that fix to the trunk Alfonso. Thanks.

Screenshot of wrong characters