Is it possible to force JSF to reset special characters in unicode-way ä , not in named-entity-way ä ?
Background: some old mobile devices (e.g. HTC-Desire with Android 2.3.4) refuse to display a page containing named objects:
This page contains the following errors ... Entity 'auml' is undefined.
The page has HTML5-Doctype and , according to the auml specification auml is a valid predefined symbolic link . Therefore, I think this is a browser error, but it does not help me.
I tried replacing special characters with their Unicode representation. But if I put รค or even ä in view, ä will make me ä . If I put a matching entity in doctype (I know this should not be done in HTML5-doctype), the behavior becomes really weird:
<!DOCTYPE html [ <!ENTITY auml "ä"> <!ENTITY mdash "—"> ... ]>
This will result in the correct HTML5 method without rendering. But a — will be replaced by — , a ä will not be replaced.
Does anyone explain this or is it possible to configure JSF for everyone displaying unicode-escaped entitites?
source share