Hello Henry,

if you need to test swf8/9/10/dhtml apps with Japanese characters,
tell me anytime.
I will do it.  Because I am Japanese.

--
[email protected]
Laszlo Japan



2009/12/9 Henry Minsky <[email protected]>:
> Thank you for finding this workaround, Ason,
>
> I think we should figure out why there is difference in the swf8 and swf10
> behavior. It would be
> best if the API were the same for both.  Also we should see what the
> behavior is in DHTML.
>
>
> I will look at how the text data is being encoded in the query. I have filed
> a bug in JIRA for this
> http://openlaszlo.org/jira/browse/LPP-8664
>
>
>
> On Wed, Dec 9, 2009 at 3:25 AM, ason <[email protected]> wrote:
>>
>> you must use encodeURI() in LZX, and urldecode() in PHP, in
>> as3(swf9/swf10),
>>
>> you can see the sample app in the "swf9 version" section of
>> http://www.openlaszlo-ason.com/doku.php/phpgetpost
>>
>>
>> --
>> [email protected]
>> Laszlo Japan
>>
>>
>> 2009/12/9 Ono Keiji <[email protected]>:
>> > Hi,
>> >
>> > I have just get big issue that 'POST" and "GET" dose not work well in
>> > the
>> > case of compiling with swf9/10. It get occur using multibyte text data
>> > to
>> > send using those interface.
>> > I wonder i miss any information about the attention when using swf9
>> > over.
>> > Any workaround?
>> >
>> > simple test case
>> > test.lzx
>> > <?xml version="1.0" encoding="utf-8"?>
>> > <canvas debug="true">
>> >   <dataset name="d" src="http://<server>/test.php" querystring="post">
>> >
>> >   <simplelayout/>
>> >   <edittext name="ed"></edittext>
>> >   <button>post
>> >      <handler name="onclick">
>> >        var dp = canvas.datasets.d;
>> >        dp.setQueryString({aaa: ed.getText()} );
>> >        dp.doRequest();
>> >      </handler>
>> >   </button>
>> > </canvas>
>> >
>> > test.php
>> > <?php
>> > $s = $_POST['aaa'];
>> > //$s = $_GET['aaa'];
>> >
>> > error_log( "$s\n", 3, "/tmp/php_error.log" );
>> > ?>
>> >
>> > When input "ああああ”(this is jp, and the mean is 'AHAHAHAHA' :^)
>> > The php program get "ã ‚ã ‚ã ‚".
>> >
>> > When it compile with swf8, works fine.
>> >
>> > thx
>> >
>> >
>> > --
>> > ------------------------------------------
>> > Ono Keiji
>> > [email protected]
>> > ------------------------------------------
>> >
>> >
>> >
>>
>
>
>
> --
> Henry Minsky
> Software Architect
> [email protected]
>
>
>

Reply via email to