Weird characters after language change
Weird characters after language change
I searched the forum for the similar issue, but did not find anything.
I use a hosting service with Softaculous.
When I add a new language (Turkish here) to the system (importing from core), and switch from English to Turkish on the system, there seems to be character encoding problems with Turkish translation for specific words. (e.g ı replaces with ?)
The language file is in UTF-8 format.
Is the problem coming from database side?
Re: Weird characters after language change
Re: Weird characters after language change
From the Language > Translate section:
Code: Select all
_DIRECT_USER_INSERT
Bu yönetici taraf?ndan olu?turulan kullan?c?lar? do?rudan etkinle?tir
Activate directly the users created by this administratorCode: Select all
_DIRECTORY_FILTER_templatename
?ablon Ad?
Template nameCorrect:
Code: Select all
Aydan ŞenerCode: Select all
Aydan S?enerRe: Weird characters after language change
Re: Weird characters after language change
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
Re: Weird characters after language change
Are your pages displayed in utf-8?
I am not sure if I can answer that, but the sources of the pages have
Code: Select all
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">Is there a way to change it in the app?
I use cPanel, so I try not to change the code directly, but I can try you recommend something.
Re: Weird characters after language change
Let's investigate on db collation. How is it configured?
Re: Weird characters after language change
I browse through cPanel > File Manager.
Re: Weird characters after language change
I can't offer the exact path, as I should be on your instance.
Re: Weird characters after language change
Actually it is all set as utf8_general_ci.
in the Operations > comparison section, it is set to latin1_swedish_ci.
In forma_lms database, it is all set as to utf8_general_ci for all the tables.

