In Java using UTF-8 characters in a String is as easy as specifiying "\u2022". Afaik strings specified in the JSF expression language are Java strings, e.g. #{'some string'} (where '' is used to delimit the string because "" is already used to delimit XHTML attribute values).
How can I specify the above string "\u2022" in JSF XHTML, e.g. in the value of a h:outputLabel?
<h:outputLabel value="#{'\u2022'}"/>
fails due to /index.xhtml @9,45 value="#{'\u2022'}" Error Parsing: #{'\u2022'}.
<h:outputLabel value="\u2022"/>
results in u2022 being generated in XHTML.
The search for information is difficult because encoding on web pages is very important and the search results are dominated by explanations of it.
Referencing a String property in a backing bean is a valid workaround as well as using a resource bundle.