utf-8 update
authorAlexandros C. Couloumbis <alex@ozo.com>
Wed, 27 Nov 2019 16:03:09 +0000 (18:03 +0200)
committerAlexandros C. Couloumbis <alex@ozo.com>
Wed, 27 Nov 2019 16:03:09 +0000 (18:03 +0200)
class/locale/ltlocale.class.php
class/net/xmlrpc/IXR_Library.lib.php
class/template/smarty/plugins/modifier.escape.php
class/view/view.class.php
locale/locale_en_UK.php

index 42bf96f5589e32d0bc9a22231b51e728b5400ab4..0efb5228b02dd9c4c30abd4400a09fcf76a95a45 100644 (file)
@@ -35,7 +35,7 @@
        /**
         * default encoding if the locale does not specify one
         */
-       define( "DEFAULT_ENCODING", "iso-8859-1" );
+       define( "DEFAULT_ENCODING", "utf-8" );
     
     /**
      * default direction for texts, if the locale does not specify one
             }
                }
        }
-?>
\ No newline at end of file
+?>
index 34b1536083bc6a7a911da011840a7e7185599811..d8a13365117ef89981b5388a85e6d74189c808aa 100644 (file)
@@ -278,7 +278,7 @@ class IXR_Server {
     var $callbacks = array();
     var $message;
     var $capabilities;
-       var $defencoding = 'iso-8859-1';
+       var $defencoding = 'utf-8';
     function IXR_Server($callbacks = false, $data = false) {
         $this->setCapabilities();
         if ($callbacks) {
@@ -819,4 +819,4 @@ class IXR_ClientMulticall extends IXR_Client {
     }
 }
 
-?>
\ No newline at end of file
+?>
index a2f52b232c1316ee9b7d0a2ea70cfc41c1b012c6..7243f9226079aea9db9be26dfc4d9fea31a272ca 100644 (file)
@@ -19,7 +19,7 @@
  * @param html|htmlall|url|quotes|hex|hexentity|javascript
  * @return string
  */
-function smarty_modifier_escape($string, $esc_type = 'html', $char_set = 'ISO-8859-1')
+function smarty_modifier_escape($string, $esc_type = 'html', $char_set = 'UTF-8')
 {
     switch ($esc_type) {
         case 'html':
index 90be7a242bdbc6a58d2ab06d8bbd78cbecec9dee..3cc097226ef497f5daa7b05fd7f9119e4da98135 100644 (file)
@@ -27,7 +27,7 @@
        /**
         * default content-type that is going to be sent in HTTP headers
         */
-       define( "DEFAULT_VIEW_CHARSET", "iso-8859-1" );
+       define( "DEFAULT_VIEW_CHARSET", "utf-8" );
        
        /**
         * default page where we should start if the "page" parameter is not
index 6ed3c8b0f0efe73de964f288a3f42ace3f66295b..5da9e15fc5ecabf703b41c179e5309ea820c3822 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 // set this to the encoding that should be used to display the pages correctly
-$messages['encoding'] = 'iso-8859-1';
+$messages['encoding'] = 'utf-8';
 $messages['locale_description'] = 'English locale file for LifeType';
 // locale format, see LTLocale::formatDate for more information
 $messages['date_format'] = '%d/%m/%Y %H:%M';