Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The encoding Word 2007 uses
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01322728
Message ID:
01322763
Vues:
14
>Data between
>
><w:binData w:name="wordml://02000001.jpg" xml:space="preserve"> and </w:binData>
>
are encoded in base64 and base64 is 7 bit encoding.
>
>But...
>
>if xml encoding is "UTF-8","UTF-7" no problema..
>if xml encoding is "UTF-16" you can try use
>
>
>STRCONV(STRCONV(STRCONV(FILETOSTR("newpicture.jpg"),13),1),5)
>
>
>1) to base64
>2) to DBCS
>3) to UNICODE (UTF-16)
>
>if xml encoding is "UTF-32" it's problem...

This is a fine piece of code. Thanks, it works extremely well.

Now, I just need to find the equivalent of that in .NET. Because, with its encoding, this is where I had some problems with it.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform