Chinese translation file encoding error
Posted by: jwj (101.32.44.---)
Date: November 29, 2021 08:55AM

The current encoding of "/lang/modules/settings_chinese.php" is UTF-8, but the correct one should be GB2313 or GBK. I hope this problem can be corrected.
wampserver version: 3.2.6

It is recommended that language files can be hosted in public repositories such as github or gitlab.

Options: ReplyQuote
Re: Chinese translation file encoding error
Posted by: Otomatic (Moderator)
Date: November 29, 2021 09:39AM

Hi,

Sorry, but the settings_chines.php file is well encoded GBK as you can see on this screenshot under Ultraedit. See the bottom of the screenshot, in the middle.


------------------------------------------------------------------------------------------------------------
Wampserver 3.2.9 32 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38 - MariaDB 10.5.13/10.6.5
Wampserver 3.2.9 64 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38/8.0.29 - MariaDB 10.5.15/10.7.3
PhPMyadmin 5.1.3 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote
Re: Chinese translation file encoding error
Posted by: Otomatic (Moderator)
Date: November 29, 2021 02:56PM

Hi,

These are your own files (your message of July 13, 2021) downloaded from
https://github.com/big-dream/wampserver-chinese-translate
and integrated as such in Wampserver 3.2.6 and in the installer of the language files.

------------------------------------------------------------------------------------------------------------
Wampserver 3.2.9 32 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38 - MariaDB 10.5.13/10.6.5
Wampserver 3.2.9 64 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38/8.0.29 - MariaDB 10.5.15/10.7.3
PhPMyadmin 5.1.3 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote
Re: Chinese translation file encoding error
Posted by: jwj (101.32.44.---)
Date: November 30, 2021 03:24AM

I use wampserver3_x86_x64_update3.2.6.exe to upgrade the existing version, or use wampserver3.2.6_x86.exe to fresh install, the file encoding of lang\modules\settings_chinese.php is confirmed to be not GBK/GB2312.
screenshot: [hu60.org]

Options: ReplyQuote
Re: Chinese translation file encoding error
Posted by: Otomatic (Moderator)
Date: November 30, 2021 09:52AM

Hi,

Try it with the latest language files that have just been updated:
Languages files

------------------------------------------------------------------------------------------------------------
Wampserver 3.2.9 32 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38 - MariaDB 10.5.13/10.6.5
Wampserver 3.2.9 64 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38/8.0.29 - MariaDB 10.5.15/10.7.3
PhPMyadmin 5.1.3 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote
Re: Chinese translation file encoding error
Posted by: jwj (113.75.201.---)
Date: November 30, 2021 03:59PM

After the update, the test is normal, thank you

Options: ReplyQuote


Sorry, only registered users may post in this forum.