开发者

How to translate UTF8 file into html-like notation

开发者 https://www.devze.com 2023-04-07 07:39 出处:网络
How to translate an Unicode file in French (any language) to a relevant file in html-special encoding. For example, the letter \"e\" with accent should b开发者_开发百科e translated into é ,

How to translate an Unicode file in French (any language) to a relevant file in html-special encoding. For example, the letter "e" with accent should b开发者_开发百科e translated into é , etc...

é -> é

I need to prepare a localized file without UTF8 letters like "é", only it should contain the other formatting like é


The uniquote utility will do this for you when you use the --html and --verbose options together.

$ echo niño difícil | uniquote --html --verbose
niño difícil


php htmlentities see it on php manual

0

精彩评论

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

关注公众号