How can I use encoded characters such as ®   ?

Technote (FAQ)


Question

How can I use encoded characters such as ®   ?

Answer

In Init.jsp under
wp_profile\installedApps\cellName\wps.ear\wps.war\themes\xdime\common,
add the required changes.

Example:

<!DOCTYPE xsl:stylesheet [
<!ENTITY nbsp "&#160;" >
<!ENTITY tradeMark "&#8482;" >
<!-- more entities can be declared from the HTML entity reference -->
]>

Then you can reference them in the JSP this way: &nbsp;, &tradeMark;

For changes to remain permanent redeploy wps.ear.

Be sure to clear the contents of the following directories under <wp_profile_root> before starting the server:
- temp
- wstemp
- tranlog


Rate this page:

(0 users)Average rating

Document information


More support for:

IBM Mobile Portal Accelerator

Software version:

6.1, 7.0

Operating system(s):

AIX, Linux, Solaris, Windows

Software edition:

Enterprise

Reference #:

1461574

Modified date:

2013-01-02

Translate my page

Machine Translation

Content navigation