[commits] [Wiki] changed: ConvertSerializedDataToUTF8

Wiki Guest wikiguest at horde.org
Fri Nov 20 16:39:19 UTC 2015


guest [134.2.22.132]  Fri, 20 Nov 2015 16:39:19 +0000

Modified page: http://wiki.horde.org/ConvertSerializedDataToUTF8
New Revision:  2
Change log:  update

@@ -1,14 +1,20 @@
++ How to convert Serialized Data to UTF-8
+
+The following script was used at the University of Tübingen, Germany,  
to convert the serialized data from ISO-8859-15 to UTF-8,
+in the process of migrating from horde 3 to horde 5. As it was not  
intended to be used at other sites, it is tailored to
+the environment of the University of Tübingen.
+
+* '''THIS SCRIPT COMES WITH NO WARENTY'''
+* '''BACKUP YOUR DATABASE '''
+
+
+
  <code>
  #!/usr/bin/php
  # Copyright: 2015  Michael Menge michael.menge(at)uni-tuebingen(dot)de
  # http://www.gnu.org/licenses/gpl
-
  <?php
-// if you get postgres-errors:
-// ALTER TABLE horde_alarms DROP zdv_encoding_id;
-// DROP SEQUENCE zdv_encoding_horde_<tablename>_seq;
-

  define('LOG_LEVEL', LOG_INFO);

  $errors = array(LOG_ERR=>0, LOG_WARNING=>0, LOG_NOTICE=>0,  
LOG_INFO=>0, LOG_DEBUG=>0);



More information about the commits mailing list