Fixed bug #6462: Wrong default locale charset on Windows
authorMartin Kutschker <martin.t.kutschker@blackbox.net>
Sat, 6 Oct 2007 19:26:53 +0000 (19:26 +0000)
committerMartin Kutschker <martin.t.kutschker@blackbox.net>
Sat, 6 Oct 2007 19:26:53 +0000 (19:26 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-1@2531 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_cs.php

index 2b292bb..10c1f65 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+
+2007-10-06  Martin Kutschker  <martin.t.kutschker@blackbox.net>
+
+       * Fixed bug #6462: Wrong default locale charset on Windows
+
 2007-09-24 Andreas Otto <andreas.otto@dkd.de>
 
        * Fixed bug #1471: Check if exif functions are available before using them.
index c518e98..7401d1b 100755 (executable)
@@ -564,7 +564,7 @@ class t3lib_cs {
                if (isset($this->lang_to_script[$language]))    $script = $this->lang_to_script[$language];
 
                if (TYPO3_OS == 'WIN')  {
-                       $cs = $this->script_to_charset_windows[$script] ? $this->script_to_charset_windows[$script] : 'window-1252';
+                       $cs = $this->script_to_charset_windows[$script] ? $this->script_to_charset_windows[$script] : 'windows-1252';
                } else {
                        $cs = $this->script_to_charset_unix[$script] ? $this->script_to_charset_unix[$script] : 'iso-8859-1';
                }