Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is it possible to make this string an image?
Message
From
17/07/2017 05:20:27
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
17/07/2017 03:49:30
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
MS SQL Server
Miscellaneous
Thread ID:
01652660
Message ID:
01652682
Views:
46
>>Hi everybody,
>>
>>If I got this as a value, what is it and can this be transformed into an image somehow?
>>
>>
>>ÿØÿà
>
>I have seen this when a Memo field containing binary Image value got read into XML using CursorToXML without the proper formatting.

But... cursortoXml() should format it properly if it's binary, using the CDATA[[ ... ]] syntax and Base64 encoded binary inside.

Ah, the value of "is binary" may differ :). "Is binary" should mean "is marked as nocptrans". If it is not marked as binary but contains binaries, i.e. characters which may be, ahem, not quite kosher by XML standards, well then - you get a malformed XML.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform