& Eacute ; \u00C9
& egrave ; \u00E8
& eacute ; \u00E9
& apos ; \u0027
something like:
f("'") = '\u0027' where f :: string -> char
g('\u0027') = "'" where g :: char -> string
Or is there a third-party library with a BSD or MIT style permissive free license with something of this sort? Otherwise I'll have to create my own mapping but it's quite urgent and I don't want to miss out on available functionality.