Wrong display of German "Umlaute", see picture

Files: 
CommentFileSizeAuthor
#4 Capture.PNG66.11 KBOFF
#2 imce_sample_profile.png7.27 KBMorn
imce_7_1_3_file_browser.png10.94 KBMorn

Comments

ufku’s picture

Category:bug» support
Status:Active» Closed (works as designed)

It's not related to IMCE. Check your translation text or page encoding.

Morn’s picture

StatusFileSize
new7.27 KB

The problem happens only with the File Browser - at the IMCE Sample Profile its ok - See picture

nelp’s picture

I have the same problem in danish. Any solutions?

OFF’s picture

StatusFileSize
new66.11 KB

Have same error in russian

OFF’s picture

Problem can be solved by adding "AddDefaultCharset UTF-8" to .htaccess

Fidde’s picture

Version:7.x-1.3» 7.x-1.7

Hi, I had exactly the same problem myself this last week. I got this to work by updating the deprecated function "decode". It is currently using the deprecated function "unescape(string)", so I switched this to the new "decodeURIComponent(string)". This function can be located in the imce.js file.

Before doing this I checked through all possible solution by checking content type of the page, the db, and so on. None of them worked. After switching the function it is working, but is there any flaws I am overlooking by doing this?

prudal’s picture

@Fidde: this works! Thanks!

decode: function (str) {
  //return unescape(str);
  return decodeURIComponent(str);
},
gifthorse’s picture

Title:File Browser: Locale problem with german language» File Browser: Locale problem
Version:7.x-1.7» 7.x-1.x-dev
Issue summary:View changes
Status:Closed (works as designed)» Reviewed & tested by the community

I suppose the fix described in #6 and #7 should be applied to the future releases of IMCE?..

DamienMcKenna’s picture

Category:Support request» Bug report
Status:Reviewed & tested by the community» Active

A patch needs to be put together for the proposed changes.

DamienMcKenna’s picture

Status:Active» Fixed

I believe this was fixed in the following commit: http://cgit.drupalcode.org/imce/commit/?id=81b47fa

Feel free to reopen if it's still a problem.

Status:Fixed» Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.