#455 closed Bug (fixed)
Problem when select a chinese files in FCKeditor
| Reported by: | Reiner Jung | Owned by: | Alfonso Martínez de Lizarrondo |
|---|---|---|---|
| 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 (4)
Change History (11)
Changed 19 years ago by
| Attachment: | Chinese-Character-error.gif added |
|---|
comment:1 Changed 19 years ago by
| Keywords: | Confirmed added; Chinese Characters removed |
|---|---|
| Milestone: | FCKeditor 2.4.3 |
| Owner: | changed from Frederico Caldeira Knabben to Alfonso Martínez de Lizarrondo |
| Status: | new → assigned |
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 19 years ago by
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 19 years ago by
https://sourceforge.net/tracker/index.php?func=detail&aid=1183486&group_id=75348&atid=543653 has been marked as dup.
comment:5 Changed 19 years ago by
| Milestone: | → 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.
comment:6 Changed 19 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
I've commited it in [299]
Let's hope that it works fine as usually the utf-8 things are tricky to get right.
comment:7 Changed 18 years ago by
| Milestone: | FCKeditor 2.5 → FCKeditor 2.4.3 |
|---|

Screenshot of wrong characters