NBuilder/NBuilder: 移除不必要的调试接口调用；简化编码转换实现，使用当前代码页。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
Merge branch 'master' into sema-test