Skip to Content
avatar image
Former Member

FIORI is not displaying special characters correctly

Hi All,

We have built a custom FIORI application based on master template. We are displaying some notes text from the backend. When the user enter a special character in the sap back end like " &" , this appear appears in FIORI ui "as <(>&<)>"

I read somewhere in forums that inserting the below could resolve the issue in index.html file but the app which I have created does not have any index.html, what other options i have to resolve this issue? Some reason the custom app doesn't have index.html file structure. Please can you guys shade some light on it .

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

Thanks

Kris

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Feb 28, 2018 at 02:06 PM

    SAP UI5 applications have index.html, Fiori UI5 applications have component.js. I would assume you would add this in the view.xml file.

    -Kevin

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Can you comment a bit more on how to include this line in xml?

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

      we have the same requirement, so how to get them display correctly?


      I also read this Link, but their case is index.html.

      As I understood sending text to backend to create such Note with special characters (German and its ä, ö, ü, ß is very common), will not create the problem, right?

      Thanks, Shanir

  • Dec 11, 2018 at 03:18 PM

    You could add it to the project settings. This shows Eclipse https://archive.sap.com/discussions/thread/3489096. My other suggestion was 10 months ago, don't recall what I was thinking with view.xml.

    Add comment
    10|10000 characters needed characters exceeded