Blame view

sources/3rdparty/Patchwork/Utf8/Bootup/utf8_encode.php 519 Bytes
03e52840d   Kload   Init
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  <?php // vi: set fenc=utf-8 ts=4 sw=4 et:
  /*
   * Copyright (C) 2013 Nicolas Grekas - p@tchwork.com
   *
   * This library is free software; you can redistribute it and/or modify it
   * under the terms of the (at your option):
   * Apache License v2.0 (http://apache.org/licenses/LICENSE-2.0.txt), or
   * GNU General Public License v2.0 (http://gnu.org/licenses/gpl-2.0.txt).
   */
  
  use Patchwork\PHP\Shim as s;
  
  function utf8_encode($s) {return s\Xml::utf8_encode($s);};
  function utf8_decode($s) {return s\Xml::utf8_decode($s);};