Character sets that wijmo is compiled with

Posted by: sameer.boddun on 2 November 2017, 8:40 am EST

    • Post Options:
    • Link

    Posted 2 November 2017, 8:40 am EST

    I am using version ‘5.20172.359’.

    I facing using when I include my app’s build with maven and deploy as war file.

    wijmo seems to include some character which fails on the browser.

    I get this problem only when I the build with war file. If deploy the ng build’s out on simple webserver it runs file.

    I am guessing that I should be using the same charater encoding that wijmo uses. And thus I created this thread to know the char encoding that you have used to compile wijmo. please let me know this.

    Thanks

    Sameer.

  • Posted 2 November 2017, 11:07 am EST

    my maven build uses UTF-8 character encoding.

    I get this error on the browser.

    Uncaught SyntaxError: Invalid or unexpected token [vendor.bundle.js:15625].

    this is line which is causing this error.

    var WEBPACK_AMD_DEFINE_ARRAY, WEBPACK_AMD_DEFINE_RESULT;/*

    PFA the same file attached.

    vendor.bundle.js.zip

  • Posted 3 November 2017, 2:48 am EST

    Hi Sameer,

    This issue requires further investigation. Hence this issue has been forwarded to concerned team for further investigation

    ~Manish

  • Posted 9 November 2017, 7:20 am EST

    Hi Sameer

    Wijmo files ought to be UTF-8 with BOM (byte order mark).

    Thanks,

    Alex

  • Posted 10 November 2017, 9:33 am EST

    Thanks Alex -

    I have opened each source files from wijmo-amd-min folder and saved as utf-8. Issue was resolved after this.

    Did you mean I was suppose to do that in first place. Shouldn’t the file originally be in UTF-8.

    OR you meant to say the wijmo files are already in UTF-8 format?

  • Posted 16 November 2017, 6:01 am EST

    Hi Sameer,

    We are sorry for the delayed response.

    We have forwarded your request to the concerned team.

    ~Manish

  • Posted 16 November 2017, 12:04 pm EST

    Hi Sameer

    There are two possible versions of UTF8 format:

    1. Without Byte Order Mark
    2. With Byte Order Mark

    Wijmo is shipped in format #2 (UTF8 with Byte Order Mark). Probably the tool you use doesn’t support it and you have to recode it to format #1, which resolves the problem.

    Byte Order Mark: https://en.wikipedia.org/wiki/Byte_order_mark

    Thanks,

    Alex

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels