AnyChart | [AnyStock 1.x] Base64 Encoded data and l...
Welcome, Guest Login

Support Center

[AnyStock 1.x] Base64 Encoded data and line breaks

Last Updated: Jul 29, 2015 06:21PM MDT
Same base64 decoders doesn't work, when there are end of string characters in base64 encoded data.

If you can't obtain image or pdf from base64encoded string, obtained from AnyChart Stock swf using Java Script methods, try to remove line breaks from the string.

For example, in  export helper for Java we use this code:

base64String = base64String.replaceAll("\r","").replaceAll("\n","");

Contact Us

support@anychart.com
http://assets0.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete