Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is it possible to make this string an image?
Message
 
 
À
17/07/2017 05:20:27
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
MS SQL Server
Divers
Thread ID:
01652660
Message ID:
01652683
Vues:
50
>>>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.

Yes exactly that happened to me once, so we had to add the flag 8 in the CURSORTOXML() flags Parameter.
Christian Isberner
Software Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform