dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: system.useCodePage = true; ? Possible Bug?

Hybrid View

  1. #1
    Member
    Join Date
    Mar 2001
    Posts
    69
    I,ve been told that this line:
    system.useCodePage = true;
    Is telling the OS to use the non-English letters in the system when you are loading variables from text-files. I am from Norway, and here we use letters like . On Macromedia's site they say that you only should use this once in the movie, but all of my variables does not display properly. Has anybody else experienced this problem, or does anybody have any suggestions?

    Happy Flashing,
    Metaman

  2. #2
    Senior Mender trionik's Avatar
    Join Date
    Nov 2000
    Location
    Montral,Canada
    Posts
    1,077
    have you look at the

    System.capabilities.language

    i know you can get the system language with this line ... but maybe you can also set the player language this way

    System.capabilities.language=no;

    no for Norwegian



  3. #3
    Member
    Join Date
    Mar 2001
    Posts
    69

    Smile

    Thanks, trionik!

    After 18 hours of wondering I found out that flash wasn't the problem. it was me :-) I am using windows and edited the txt-files in notepad. For some reason notepad is formating the text in a strange way (You don't see it but it is there) So when I edited the text in wordpad and saved the file as unicode text the problem disappeared. I don't have to use the code
    Code:
    system.useCodePage = true;
    anymore. If I get problems later I'll try your suggestion.

    Happy Flashing,
    metaman

  4. #4

    Norwegian unicode

    hei jeg er ogs norsk og har det problemet du hadde og jeg lurte p om du hadde vrt s kul vise meg .txt filen og actionscript du bruker for fiske dette VELDIG irriterende problemet.!!

    Takker og bukker

    Pretorian

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center