Acknowledged

utf-8 and string resources

i have a problem with german umlauts (öäü) in string resources:

whenever i get the app from the ciq store (iq file) i only get "?" instead of umlauts while it works fine when i sideload the app or test in the simulator.

this happened before (see https://forums.garmin.com/developer/connect-iq/i/bug-reports/connect-mobile-and-utf-8-for-app-settings) and seemed to be fixed with SDK 3.2.3 but now using SDK 4.1.7 it re- appeared...

Parents
  • now i finally made it work :-)

    i was using something like

    java -jar monkeybrains.jar -f monkey.jungle -y my_key -o myApp.iq -e -w -r

    to build the iq file - if i use

    monkeyc -f ...

    it is working as expected.

    a look into the "monkeyc" script reveals it is using the "-Dfile.encoding=UTF-8" java option which when missing causes the problem described here.

    thx everyone for helping.

    @Garmin: please mark this as solved as i cant...

Comment
  • now i finally made it work :-)

    i was using something like

    java -jar monkeybrains.jar -f monkey.jungle -y my_key -o myApp.iq -e -w -r

    to build the iq file - if i use

    monkeyc -f ...

    it is working as expected.

    a look into the "monkeyc" script reveals it is using the "-Dfile.encoding=UTF-8" java option which when missing causes the problem described here.

    thx everyone for helping.

    @Garmin: please mark this as solved as i cant...

Children
No Data