CoreFiles by mySites.guru
UnicodeTranscoderInterface.php40 lines, 1,096 bytes, from Joomla_4.0.0-alpha5-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha3
md5
3433dd4970f7fbd3a93593d43aa840eb
sha1
26281134625c60fcc4c3729e5642198ebac70ddf
sha256
e338b5ad244a316b1059cfe755e1213db7a7b13bcb573f489a81282e3549438d
<?php
/**
 * UCTC - The Unicode Transcoder
 *
 * Converts between various flavours of Unicode representations like UCS-4 or UTF-8
 * Supported schemes:
 * - UCS-4 Little Endian / Big Endian / Array (partially)
 * - UTF-16 Little Endian / Big Endian (not yet)
 * - UTF-8
 * - UTF-7
 * - UTF-7 IMAP (modified UTF-7)
 *
 * @package IdnaConvert
 * @author Matthias Sommerfeld  <[email protected]>
 * @copyright 2003-2016 phlyLabs Berlin, http://phlylabs.de
 * @version 0.1.0 2016-01-08
 */

namespace Mso\IdnaConvert;

interface UnicodeTranscoderInterface
{
    public static function convert($data, $from, $to, $safe_mode = false, $safe_char = 0xFFFC);

    public static function utf8_ucs4array($input);

    public static function ucs4array_utf8($input);

    public static function utf7imap_ucs4array($input);

    public static function utf7_ucs4array($input, $sc = '+');

    public static function ucs4array_utf7imap($input);

    public static function ucs4array_utf7($input, $sc = '+');

    public static function ucs4array_ucs4($input);

    public static function ucs4_ucs4array($input);
}

The same content is in 3 releases, Joomla 4.0.0-alpha3 to 4.0.0-alpha6. See them all, or every version of this file.