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
精彩评论