Re: [問題] 一行字串中如何找出第一個中文字

作者: cphsu (kent)   2015-07-22 22:07:30
I'm not sure what's the encoding of your string, so I made two programs.
Use at your own risk. Especially the second pattern is not exactly the range of
Chinese characters.
refs:
https://zh.wikipedia.org/wiki/big5
https://zh.wikipedia.org/wiki/UTF-8
https://en.wikipedia.org/wiki/CJK_Unified_Ideographs
作者: sa0124 ((恩恩))   2015-07-24 06:30:00
作者: pandadao (panda)   2015-07-26 17:24:00
謝謝您的幫助

Links booklink

Contact Us: admin [ a t ] ucptt.com