开发者

How to translate UTF8 file into html-like notation

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜