How to Convert Special Chars to Standard Chars?

前端 未结 3 1289
天涯浪人
天涯浪人 2021-01-19 10:13

I\'m looking for way to convert chars like āžšķūņrūķīš to azskunrukis. In other words, to replace ā with a, ž with z an

3条回答
  •  失恋的感觉
    2021-01-19 10:42

    As an alternative to iconv, you could check out the Normalize functions of the intl extension (if available).

提交回复
热议问题