Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Reply
New Member
Posts: 1
Registered: ‎10-30-2011
My Device: n/a
My Carrier: Telstra

Re: Flash Development for PB: Error: Invalid byte 1 of 1-byte UTF-8 sequence

Have you tried re loading Adobe Flash?
I have had problems in the past with Flash and have found that reloading the Adobe Flash has helped
New Member
Posts: 1
Registered: ‎11-06-2011
My Device: curve
My Carrier: globe

Re: Flash Development for PB: Error: Invalid byte 1 of 1-byte UTF-8 sequence

[ Edited ]

Fascinating article - cheers. You often write a entertaining blog post. Thank you once more - I will come back.

New Member
Posts: 7
Registered: ‎11-09-2011
My Device: 9900 bold
My Carrier: rogers

Re: Error: Invalid byte 1 of 1-byte UTF-8 sequence

Yep, looks like still no change there.

New Member
Posts: 1
Registered: ‎11-22-2011
My Device: BB8110
My Carrier: US

Re: Error: Invalid byte 1 of 1-byte UTF-8 sequence

I have the exact same problem.  Did you find a fix to this.  The error goes away if you wrap the variable in utf8_encode... but you loose the Kanji (asian double-byte characters) and is replaced with the gobbeltygook.    I know everything else is encoded to utf8 as I can store the data in mysql, send an email, etc and the kanji is passed.  But when I send it to SaleForce via the API or Web-2-Lead.  It bombs with the same error.



[url=http://athomeworkoutequipment.com/10-minute-trainer-reviews]10 Minute Trainer reviews[/url]
Developer
Posts: 410
Registered: ‎06-03-2010
My Device: Z10 Red
My Carrier: Free

Re: Flash Development for PB: Error: Invalid byte 1 of 1-byte UTF-8 sequence

[ Edited ]

Hi!

 

I'm working with WebWorks and I have the exact same problem. But it happens only for one of my project, not all of them, and only if I compile for Playbook. It works for Blackberry 5.

That means it's an Air packager trouble.

 

Here the log:

 

[exec] [INFO] Validating the <author> element
[exec] [INFO] Populating application source
[exec] [INFO] Compiling WebWorks application
[exec] Chargement du fichier de configuration C:\Program Files\Research In Motion\BlackBerry WebWorks SDK for TabletOS 2.2.0.5\bbwp\blackberry-tablet-sdk\frameworks\air-config.xml
[exec] C:\Users\********\AppData\Local\Temp\widgetGen.21404283281337066859299.tmp\MonAppliPB.swf (246026 octets)
[exec] [INFO] Packaging the bar file
[exec] Error: Invalid byte 2 of 3-byte UTF-8 sequence.

 

 

Highlighted
Developer
Posts: 410
Registered: ‎06-03-2010
My Device: Z10 Red
My Carrier: Free

Re: Flash Development for PB: Error: Invalid byte 1 of 1-byte UTF-8 sequence

[ Edited ]

Found!

 

shubham92 , check if you have an accent letter in your -app.xml file


I had a "é" in the name of my application in my config.xml file that make it fail