Skip to content

Nordic characters: "æøå" #756

@PanayotCankov

Description

@PanayotCankov

Add support for Nordic characters: "æøå".
These should work when used both in XML and JavaScript.
Prior 1.3.0 they used to appear correctly, but in 1.3.0 we've degraded and they can't be used in JavaScript now in iOS.

The problem is easily reproduced with the hello world app and the following setup:

<Page xmlns="http://www.nativescript.org/tns.xsd" loaded="pageLoaded">
  <StackLayout>
    <Label text="Tap the button" cssClass="title"/>
    <Button text="æøå" tap="{{ tapAction }}" />
    <Label id="l" text="{{ message }}" cssClass="message" textWrap="true"/>
  </StackLayout>
</Page>
var vmModule = require("./main-view-model");
function pageLoaded(args) {
    var page = args.object;
    page.bindingContext = vmModule.mainViewModel;
    page.getViewById("l").text = "æøå";
}
exports.pageLoaded = pageLoaded;

Be sure to add automation tests with image verification for usage in XML and JS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions