Hi Joe,

On Sun, Mar 1, 2015 at 7:14 PM, Yasuo Ohgaki <yohg...@ohgaki.net> wrote:

>    public function __construct([string $string [, string $source_codepage
> [, string $substitute_char] ]);


One additional comment for constructor. It should have default
normalization. I think
it should be NFC as most system uses it. (OSX uses NFD for filenames! I
hate it and
most of Japanese developers hate it)

The API may be

public function __construct([string $string [, string $source_codepage [,
string $substitute_char [, $normalization] ]);

If $substitute_char is NULL, disallow invalid encoding.

Regards,

--
Yasuo Ohgaki
yohg...@ohgaki.net

Reply via email to