Hi,
It should work with the 3.2.10 update!
Maybe not for all languages because I can only test on a French Windows France, so with the concerned language files encoded Windows-1252.
You could - and when I write "you", it's for all Wampserver users out of Windows-1252 code page - put the script below in wamp(64)/www/ under the name "test_encoding.php" and launch it by 'http:/localhost/test_encoding.php' and put the results here by specifying the country and the language.
<?php
$Text_Encoding = array(
'IsSingleByte' => '',
'BodyName' => '',
'EncodingName' => '',
'HeaderName' => '',
'WebName' => '',
'WindowsCodePage' => '',
'CodePage' => '',
);
$command = 'CMD /D /C powershell [System.Text.Encoding]:: Default';
$output = `$command`;
foreach($Text_Encoding as $key => $value) {
if(preg_match('~^'.$key.'\s+:\s+([a-zA-Z0-9\-\'\.\(\) ]+)~mi',$output,$matches) === 1) {
$Text_Encoding[$key] = $matches[1];
}
}
$Text_Encoding['LocaleCtype']= trim(strstr(setlocale(LC_CTYPE,''),'.'),'.');
$string = '';
foreach($Text_Encoding as $key => $value) {
$string .= str_pad($key,17).': '.$value.'<br>';
}
$string = str_replace(' ',' ',$string);
echo '<pre>'.$string.'</pre>';
?>
For French - France, the results are:
- Windows 10 French France
- Result with Beta utf8 not checked
IsSingleByte : True
BodyName : iso-8859-1
EncodingName : Europe de l'Ouest (Windows)
HeaderName : Windows-1252
WebName : Windows-1252
WindowsCodePage : 1252
CodePage : 1252
LocaleCtype : 1252
- Result with Beta utf8 checked
IsSingleByte : False
BodyName : utf-8
EncodingName : Unicode (UTF-8)
HeaderName : utf-8
WebName : utf-8
WindowsCodePage : 1200
CodePage : 65001
LocaleCtype : utf8
Thanks.
---------------------------------------------------------------
Documentation Apache -
Documentation PHP -
Documentation MySQL -
Wampserver install files & addons