UAODecode


0 Comments

完全是無聊而寫了這個,我自己也用不到 XD

這個 PHP Class 的功能是將 Big5 中文及 Unicode-At-On 新增字轉換為 UTF-8 或 NCR。本程式移植自 PCMan 2007 ,所以採用 GNU GPL 授權。

下載

使用方法

<?php
    // 輸出 UTF-8
    echo UAODecode::big5_to_utf8('Unicode-At-On 文字');

    // 輸出 NCR
    echo UAODecode::big5_to_ncr('Unicode-At-On 文字');
?>

Leave a Reply

Your comment may not display immediately due to spam filtering. Please wait for moderation.