# System.useCodePage

**URL:** <https://forum.kirupa.com/t/system-usecodepage/303818>\
**Category:** flash\
**Created:** [January 27, 2010, 3:17pm UTC](https://forum.kirupa.com/t/system-usecodepage/303818 "2010-01-27T15:17:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![grass](https://avatars.discourse-cdn.com/v4/letter/g/96bed5/32.png) [@grass](https://forum.kirupa.com/u/grass)\
**Post date:** [January 27, 2010, 3:17pm UTC](https://forum.kirupa.com/t/system-usecodepage/303818/1 "2010-01-27T15:17:46Z")

</div>

Hi,

I came across a lil problem, with some data recieving between utf8 and iso and then tried usecodepage=true, which seemed to make absolutely no difference.  
Now in as2, the proper way was to set usecodepage as a first line of code in the file…

1. in as3, where should I put the System.useCodePage=true line? I’m guessing inside the main class (connected to the .fla)… as first line of… the constructor function?

2. is it just me or loading non-unicode data really doesn’t work

3. if any other experience concerning the matter, please do enlighten me =)

ps2: thats f10 compiler…

ps: can’t post any file or link, as it’s a part of a system, however, when I recieved data and set codepage true or false, the nonlatin chars were exactly the same both ways (if iso printed, they were messed up, if utf, they were ok)

dnx!
