Results 1 to 2 of 2

Thread: Sencha project in ISO-8859-1 encoding.

  1. #1
    Sencha User yeghikyan's Avatar
    Join Date
    Mar 2009
    Location
    München
    Posts
    574

    Default Sencha project in ISO-8859-1 encoding.

    Hallo,


    some of our projects must be encoded in ISO-8859-1 (NOT UNICODE). After building the project some special characters (ÄÖÜ...) are changed, "Löschen" string transformed to ""L�schen" in generated /build/*/production/app.js
    1. All our javascript files are in the ISO-8859-1 (or ISO-8859-15) encoding. Appropriate html meta tag is there.
    2. development version is ok, problem only in production
    3. /build/<APPLICATION_NAME>/app.js has corrupted chars instead of umlauts.
    4. I have turned of the YUI compression but it did not help (production.compressor = null) fragment of app.json
    ...
    "loader": {
    "cache": false,
    "cacheParam": "_dc",
    "charset": "ISO-8859-1"
    },


    "production": {
    "output": {
    "appCache": {
    "enable": true,
    "path": "cache.appcache"
    }
    },
    "loader": {
    "cache": "${build.timestamp}"
    },
    "cache": {
    "enable": true
    },
    "compressor": null
    },
    ...
    setting the YUI compressor "charset" encoding did not help also
    ...
    "production": {
    "output": {
    "appCache": {
    "enable": true,
    "path": "cache.appcache"
    }
    },
    "loader": {
    "cache": "${build.timestamp}"
    },
    "cache": {
    "enable": true
    },
    "compressor": {
    "type": "yui",
    "charset": "ISO-8859-1" // <---- this setting
    }
    },
    ...


    AS FAR AS I UNDERSTAND
    the problem is not in compression but in the sencha cmd mergin issue.
    cmd version and extjs versions are the latest 6.2.0, the same problem was in 6.0.x version.


    So how is it possible to change the encoding of sencha command ?


    Regards
    "The competent programmer is fully aware of the strictly limited size of his own skull; therefore he approaches the programming task in full humility, and among other things he avoids clever tricks like the plague." – Edsger W. Dijkstra

  2. #2

    Default

    Have you attempted setting the encoding directive on the files you need? http://docs.sencha.com/cmd/guides/ad...acter_encoding

Similar Threads

  1. [FIXED-113] open project character encoding problem
    By mrsunshine in forum Ext Designer: Bugs
    Replies: 1
    Last Post: 27 Apr 2010, 12:55 PM
  2. How do I set my Projects encoding to ISO-8859-1
    By hraing in forum Ext GWT: Discussion
    Replies: 2
    Last Post: 8 Apr 2010, 6:14 AM
  3. Help : Encoding problems with ISO-8859-x
    By brasmouk in forum Ext 2.x: Help & Discussion
    Replies: 7
    Last Post: 28 May 2008, 5:04 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •