Merge "Add regression tests for gbk encoding."