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

Java Development

Reply
Developer
Posts: 242
Registered: ‎02-19-2013
My Device: 9500
My Carrier: _

How to encode the chinese or all internation character in Base 64

How to encode the chinese or all internation character in Base 64 in blackberry programmatically?

Developer
Posts: 17,012
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: How to encode the chinese or all internation character in Base 64

http://www.blackberry.com/developers/docs/7.1.0api/net/rim/device/api/io/Base64OutputStream.html
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: How to encode the Chinese or all international character in Base 64

I think there might be slightly more to it than just using Base64 though.  To use Base64 you need to create a byte stream and to convert characters to a byte stream you need to decide the encoding of the characters.  So you will first need to agree which byte encoding your are using for the characters.  At least that is my understanding.