jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => Bugs => Topic started by: carin on 03.06.2014 21:44:33

Title: Umlauts are handled incorrectly when adding a category [Documentation added - no
Post by: carin on 03.06.2014 21:44:33
reproduce:
* set folders to be named automatically
* add a category, e.g. "Lösungen"

expected:
* folder on the server: loesungen
* category alias: loesungen

current:
* folder on the server: lösungen
* category alias: lo-sungen
Title: Re: Umlauts are handled incorrectly when adding a category
Post by: carin on 03.06.2014 21:50:13
In addition this causes the message "Error: Filename empty after cleaning!" and the backend is visually destroyed - hitting the browser's back button brings Joomla back.
Title: Re: Umlauts are handled incorrectly when adding a category
Post by: Arno on 03.06.2014 22:52:51
Quotereproduce:
* set folders to be named automatically
* add a category, e.g. "Lösungen"

When you will use special characters in category title (as example german umlauts), you need this settings (see pic).
This settings will reduce also the problems with the categories 'batch function'. - But please wait here on the next beta version, this should be published tomorrow.

Perhaps should we rework the description for this options.  :-\

[gelöscht durch Administrator]
Title: Re: Umlauts are handled incorrectly when adding a category
Post by: carin on 03.06.2014 23:11:23
Thanks for the hint. But I am confused. I really need to set UTF-8 to NO?

Quoteshould be published tomorrow
great!
Title: Re: Umlauts are handled incorrectly when adding a category
Post by: ColinM on 04.06.2014 01:02:38
Hi
The recommendations to get the naming you wanted are to turn off utf-8 support and use transliteration.  In this case transliteration means that German characters with an umlaut are converted to standard ascii equivalent without the umlaut.  Most European languages are the same in this regard.  For example in French both the e acute and the e grave become e.

The main problem is often the host server file system.  A very common file system for servers is cPanel.  This is not always configured for utf-8.  For example see link below 
http://kb.siteground.com/how_to_change_the_language_for_cpanel/

So yes we should change the descriptions to really emphasise the need to check with the hosting site before switching to utf-8  directory names (categories) and filenames (downloads) as all sorts of 'challenges' may occur.  It may also be that some internals of Joomla! are not yet utf-8 "friendly" for example
http://stackoverflow.com/questions/20297160/joomla-utf-8-encoding-fails-on-opening-the-mail

Colin
Title: Re: Umlauts are handled incorrectly when adding a category
Post by: carin on 04.06.2014 01:44:33
great explanation, thanks a lot!
Title: Re: Umlauts are handled incorrectly when adding a category
Post by: Arno on 04.06.2014 14:29:21
Hi Colin,
perhaps can you add this description to the jD documentation?  ;D
Very useful for many users.  8)

I have now changed in next beta the default settings for this options.
So is in the future only activated after installation the 'auto folder name creation' and the 'Remove/Change special characters in name' option.
Title: Re: Umlauts are handled incorrectly when adding a category
Post by: ColinM on 07.06.2014 00:25:50
Hi
Have added article
http://www.jdownloads.net/documentations/item/accented-characters-utf-8-folder-and-file-names?category_id=30
Colin
Title: Re: Umlauts are handled incorrectly when adding a category
Post by: Arno on 07.06.2014 11:36:28
Quote from: ColinM on 07.06.2014 00:25:50
Hi
Have added article
http://www.jdownloads.net/documentations/item/accented-characters-utf-8-folder-and-file-names?category_id=30
Colin
Many thanks Colin! Very good job!  8) ;) ;D