flex converter encoding setting

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

flex converter encoding setting

flashhtml5
This day I began to use flexjs,But I found the as/mxml  compliered file
encoding was ANSI,Not UTF-8... I want to change it to show chinese,how can I
chang it ?
Thank you,please help me!



--
Sent from: http://apache-flex-users.2333346.n4.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: flex converter encoding setting

Alex Harui-2
If you are using Windows, try the environment variable:

JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8


HTH,
-Alex

On 2/27/18, 6:17 PM, "flashhtml5" <[hidden email]> wrote:

>This day I began to use flexjs,But I found the as/mxml  compliered file
>encoding was ANSI,Not UTF-8... I want to change it to show chinese,how
>can I
>chang it ?
>Thank you,please help me!
>
>
>
>--
>Sent from:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-users.2333346.n4.nabble.com%2F&data=02%7C01%7Caharui%40adobe.com%7C087a7
>973477f4a55ca6508d57e66eeeb%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6
>36553902916512867&sdata=E9ufF9Ouk9ileMeUC2vf%2FkvXn9YdA3ufY%2B%2Bydv3YbI8%
>3D&reserved=0

Reply | Threaded
Open this post in threaded view
|

Re: flex converter encoding setting

piotrz
Hi,

Hmm...If you are trying FlexJS, project has changed the name. Take a look
here -> http://royale.apache.org/

Thanks,
Piotr

2018-02-28 6:20 GMT+01:00 Alex Harui <[hidden email]>:

> If you are using Windows, try the environment variable:
>
> JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8
>
>
> HTH,
> -Alex
>
> On 2/27/18, 6:17 PM, "flashhtml5" <[hidden email]> wrote:
>
> >This day I began to use flexjs,But I found the as/mxml  compliered file
> >encoding was ANSI,Not UTF-8... I want to change it to show chinese,how
> >can I
> >chang it ?
> >Thank you,please help me!
> >
> >
> >
> >--
> >Sent from:
> >https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fapache-fle
> >x-users.2333346.n4.nabble.com%2F&data=02%7C01%7Caharui%40adobe.com
> %7C087a7
> >973477f4a55ca6508d57e66eeeb%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%7C0%7C6
> >36553902916512867&sdata=E9ufF9Ouk9ileMeUC2vf%
> 2FkvXn9YdA3ufY%2B%2Bydv3YbI8%
> >3D&reserved=0
>
>


--

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*
Reply | Threaded
Open this post in threaded view
|

Re: flex converter encoding setting

flashhtml5
In reply to this post by Alex Harui-2
I added the line to FlashBuilder.ini,nothing happened..



--
Sent from: http://apache-flex-users.2333346.n4.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: flex converter encoding setting

Alex Harui-2
FlashBuilder uses Eclipse, so see articles about Eclipse and UTF-8.

HTH,
-Alex

On 3/1/18, 5:43 AM, "flashhtml5" <[hidden email]> wrote:

>I added the line to FlashBuilder.ini,nothing happened..
>
>
>
>--
>Sent from:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-users.2333346.n4.nabble.com%2F&data=02%7C01%7Caharui%40adobe.com%7Ce5f04
>17a28db4bdd46e308d57f7e3e51%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6
>36555102554437259&sdata=UVNgcCSuF%2Fe6by8u5Bn7NOFmi4I1%2B2G2x8QYYADqwSk%3D
>&reserved=0

Reply | Threaded
Open this post in threaded view
|

Re: flex converter encoding setting

flashhtml5
all encoding setting chang to utf-8,but no effect to flexjs




--
Sent from: http://apache-flex-users.2333346.n4.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: flex converter encoding setting

Alex Harui-2
Is FlashBuilder able to create a new file and save it as UTF-8?
If you add the -link-report compiler option, does that file get saved as
UTF-8?
If you add the JAVA_TOOL_OPTIONS to the environment before you launch
FlashBuilder instead of FlashBuilder.ini, does that make a difference?

Let us know,
-Alex

On 3/2/18, 6:09 AM, "flashhtml5" <[hidden email]> wrote:

>all encoding setting chang to utf-8,but no effect to flexjs
>
>
>
>
>--
>Sent from:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-users.2333346.n4.nabble.com%2F&data=02%7C01%7Caharui%40adobe.com%7Ce2df9
>27474ce464f7bd108d580482c7f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6
>36555969828929032&sdata=mripK5D1NoKeucPDdTJsN%2F8zOPVjI0uc9m8xXUrXOn4%3D&r
>eserved=0