-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UTF read/write issues #13
Comments
Hi, I have just started using the library in a project and will put more time into it. Vector is not supported, and I can look into the UTF decoding. Can you send me a Charles session with the request/response in question. |
Thank you for your quick response. Is there any way to support the Vector?
` How can I send you the Charles session? |
Send it to gmail (same username). Sure, this is the senchatouch-amf solution. I added Vector support to efxphp, so will see if I can come up with something. |
I have fixed the UTF read/write functionality and added some tests. Will work on more tests in the future. Will look into reading Vectors. |
Opening a new ticket for Vector reading enhancement. |
Thank you for your response. I forked your source and added the vector read support (so far it works with the data I received from the server). I also fix the ArrayCollection problem. Again, thanks. ;) |
Cool, glad you are making it work for you. I had an uncommitted fix for traits, which resulted in problems with second typed object in arrays (or ArrayCollection if you server is BLAZEDS and you have it). You got that one right. I have fixed the UTF write as well :) I have done the read, support (not 100% sure what to do with uint at the moment). Also doing write. Should be done today or tomorrow. Will post more comments in #14 |
I'm trying to use this amf javascript for an Air project that needed to migrate to HTML using Electron.
I'm having trouble with deserializing vectors type. I tried to debug with browser inspector, and when the type is 13, it throws an error exception.
Also, retrieving strings with Japanese characters returned garbish. I tried to escape the output string but still not getting the proper characters.
I have no direct access with the Server, thus I do not know how the flex service implemented.
By the way, using Charles proxy, I can see the response string properly (not garbaged).
Any help is much appreciated.
Thanks.
The text was updated successfully, but these errors were encountered: