Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Impact on webpage if page encoding is changed from Windows-1252 to UTF-8 ?

Sanket24Nov 21 2017 — edited Nov 23 2017

Hi All,

I have an ADF Task Form with its header details (in .jspx file) as,

<?xml version='1.0' encoding='windows-1252'?>

..

..

<jsp:directive.page contentType="text/html;charset=windows-1252"/>

However, I am facing error when characters like Euro sign needs to displayed in one of the text field.

It is shown as question mark character.

My question is, if I change encoding in above two places from windows-1252 to UTF-8, will it affect the other parts of code?

I suppose it should not as UTF-8 supports all characters as supported in windows-1252 and also it will take care of euro sign as well.

Or is there any way by which i can change the encoding of particular text field to UTF-8 so that characters like Euro appear properly on the form?

Thanks and Regards,

Sanket

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 21 2017
Added on Nov 21 2017
5 comments
351 views