Text attributes and base64

25 views
Skip to first unread message

The Mashup App

unread,
Dec 14, 2014, 4:07:48 PM12/14/14
to spar...@googlegroups.com
I am unable to save base64 content into a Text Attribute and the manual doesn't mention any limitations:

        STSTextStream* textStream = [[STSTextStream alloc] initWithAppend: false];


        [graph setAttributeText: node_oid

                           attr: attr_type

                        tstream: textStream];

        

        

        [textStream writeString: text_content];

        [textStream close];



any suggestions are appreciated.


c3po.ac

unread,
Dec 15, 2014, 5:26:26 AM12/15/14
to spar...@googlegroups.com
Hi,

The Text attribute is for unicode strings. So if you have data encoded with base64 in a NSString, it should work.

What error do you get?
You can check the text log file for "SEVERE" error messages.

Can you show us the NSString data that you are trying to write?

You may send it to dam...@sparsity-technologies.com if you prefer.

Thanks.

El diumenge 14 de desembre de 2014 22:07:48 UTC+1, The Mashup App va escriure:
Reply all
Reply to author
Forward
0 new messages