Spanish 'Inverted Question Mark' Character 'Â¿' Transformed to '¿' In ADF Faces Pages.
Last updated on AUGUST 04, 2016
Applies to:Oracle JDeveloper - Version 22.214.171.124.0 to 126.96.36.199.0 [Release Oracle11g]
Information in this document applies to any platform.
***Checked for relevance on 13-May-2013***
You developed an ADF Faces/BC application in JDeveloper 11g (188.8.131.52.0).
You notice a weird issue with the character 'ÃÂÃÂ¿' (the "inverted question mark" - "Signo de interrogaciÃÂÃÂ³n"):
- 'ÃÂÃÂ¿foo?' in the DB is displayed as '¿foo?' in the UI ('ÃÂÃÂ¿' replaced by 'ÃÂÃÂ¿' without the ending ';')
- 'ÃÂÃÂ¿ÃÂÃÂ¿foo?' in the DB is displayed as 'ÃÂÃÂ¿¿foo?' in the UI (first 'ÃÂÃÂ¿' correctly displayed - second not)
- 'ÃÂÃÂ¿ foo?' in DB is correctly displayed as 'ÃÂÃÂ¿ foo?' in the UI ('ÃÂÃÂ¿' followed by a space correctly displayed)
The issue occurs in any browser, whatever the browser language settings ("Spanish [es-Es]").
The problem only reproduces with af:inputText components with rows="1" (default).
When you set rows="N" (N > 1), then the same af:inputText shows the 'ÃÂÃÂ¿' character correctly.
The problem only reproduces with ADF applications.
You don't see the problem on other Web pages.
The encoding settings are configured as the following in JDeveloper:
- JDeveloper > Preferences > Environment > Encoding = UTF-8
- ViewController > Compiler > windows-1252 (same with UTF-8)
- ViewController > Compiler > JSP = UTF-8
<?xml version='1.0' encoding='UTF-8'?>
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms