简体   繁体   中英

Convert kana full-width number to half-width

I'm new to PHP and trying to convert Japanese full-width number to half-width, eg: 12345 to 12345 . Is there any good way to do that?

Reference here . Ex: convert full-width number to haft-width

mb_convert_kana("12345","n")

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM