Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Encoding Problem - HTML 5 App

Former Member
0 Likes
729

I'm facing an Encoding problem.

I have in an SAPUI5 application I’m building and here what is happening:

  • I have the frontend built in SAPUI5
  • It retrieves data from OData service
  • When the frontend retrieves data, the data is correct (ps.: In the table my row is also with the correct encoding and I'm using NVARCHAR)
  • But when I try to print special characters in some elements it does not print with the correct encoding.

Here is the example:

I've already have in my index.html the utf8 tag

<metacharset="utf-8">

By a chance, Do you know what is happening?

1 REPLY 1
Read only

SergioG_TX
SAP Champion
SAP Champion
0 Likes
554

try this on your index.html

<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>