开发者

VBA: Unicode to ASCII conversion?

开发者 https://www.devze.com 2023-04-10 00:32 出处:网络
I have a string that is in unico开发者_StackOverflow社区de format that I want to convert to ASCII format.If the character is not in the ASCII range, then it should be converted to the closest English

I have a string that is in unico开发者_StackOverflow社区de format that I want to convert to ASCII format. If the character is not in the ASCII range, then it should be converted to the closest English letter. For example "Ǎǎǵǩȥȑȍ" to "Aagkzro".


A quick web search pulled up the following link which partially works for you example.

However, there are codes (ǵ) which will just return a question mark. In these cases, you will want to check for that value specifically and convert it to what you're expecting.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号