question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cli 1.7.0 with utf-8 is not work for launchpad shell header

See original GitHub issue

Expected Behavior

Can display the correct UTF-8 text on launchpad shell header.

Current Behavior

I use the last published version of cli (1.7.0 version) to build ui5 application and deploy to the system with web-ide. Then, The launchpad shell header display with ������ So, I see the component-preload file on the i18n_th text is encoded to ascii. Let me know how could I do for this case or maybe add any code in ui5.yaml file?

Steps to reproduce the issue

  1. Create new simple ui5 application and use i18n model for application title from i18n
  2. Create i18n_th and use some Thai text for the application title
  3. On file ui5.yaml, add the following code after line of metadata-name resources: configuration: propertiesFileSourceEncoding: “UTF-8”
  4. Build the application and deploy to system.

Context

  • UI5 Module Version (output of ui5 --version when using the CLI): 1.68.1
  • Node.js Version: {...}
  • npm Version: {...}
  • OS/Platform: {...}
  • Browser (if relevant): Chrome
  • Other information: {...}

Affected components (if known)

Log Output / Stack Trace

{...}

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:18 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
ekansh005commented, May 18, 2022

Hi @RandomByte,

Okay so I tested this with another application of mine which was not yet deployed again since the upgrade of SAP_UI 754 component. I just deployed the app again and the title was displaying the Finnish characters properly.

Thanks for your support.

0reactions
ekansh005commented, May 5, 2022

Hi @RandomByte,

Thanks for your reply. We were in a hurry, so I excluded the task escapeNonAsciiCharacters for now and deployed that version. However, I noticed a few things after doing all this:

  • we had recently upgraded our stack to 754 and the app wasn’t changed in a while
  • as the note suggested, we still need to redeploy our app so that texts can be updated. Since the app was old, we hadn’t redeployed it to test if it worked with Unicode characters.

I will test this soon with another app and let you know here. Hopefully it works fine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

cli 1.7.0 with utf-8 is not work for launchpad shell header #287
I use the last published version of cli (1.7.0 version) to build ui5 application and deploy to the system with web-ide. Then, The...
Read more >
homebrew-core - Homebrew Formulae
a2ps 4.14 Any‑to‑PostScript filter aacgain 1.8 AAC‑supporting version of mp3gain aalib 1.4rc5 Portable ASCII art graphics library aamath 0.3 Renders mathematical expressions as ASCII art
Read more >
Bug #847853 “upgrade from natty to oneiric fails ... - Launchpad Bugs
Package gnome-shell is not installed. dpkg: error processing gnome-session (--configure): ... UTF-8. SHELL=/bin/bash SourcePackage: update-manager
Read more >
Adding BOM to UTF-8 files - Stack Overflow
The easiest way I found for this is #!/usr/bin/env bash #Add BOM to the new file printf '\xEF\xBB\xBF' > with_bom.txt # Append the...
Read more >
Changelog - Cypress Documentation
Fixed a regression introduced in the Electron browser in Cypress 10.8.0 where the CYPRESS_EVERY_NTH_FRAME environment variable was not being set appropriately ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found