Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The encoding Word 2007 uses
Message
 
To
10/06/2008 01:58:02
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01322728
Message ID:
01322760
Views:
18
This message has been marked as the solution to the initial question of the thread.
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...

MartinaJ


>> base64 or quoted pritable...
>
>But, the problem is with base64, there are a lot of variations.
>
>It can be the default encding, UTF32, UTF7, UTF8, etc. And, I tried them all and the encoding does not fit a 76 characters line definition. It is all a big chunck of text.
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform