Merge pull request #103 from TsudaKageyu/string-improvement

Some improvements of String
Change the condition to use codecvt