Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Spanish anyone?
Message
From
09/08/2006 10:10:18
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01144115
Message ID:
01144124
Views:
13
This message has been marked as a message which has helped to the initial question of the thread.
>Hi Gang!
>
>Strange thing here.
>
>I am working on some reports that print out in English and Spanish. The English reports work fine.
>
>The Spanish ones give some strange output.
>
>The data comes from a Third-party datasource that outputs strings in plain text. Each line of text is output to one long string and then saved to a memo file.
>
>I now have the code written that gets each memo field and outputs it to a report field (formated with a font and size).
>
>Here is the problem.
>
>The text prints as garbage as TrueType fonts but looks fine as FoxFont.
>
>Here is a sample.
>
>DE ESTA MEDICINA, t¢mela lo antes posible. Si falta poco tiempo para su pr¢xima dosis, deje de usar la dosis que olvid¢ y vuelva a su anterior planificaci¢n de las dosis. No tome 2 dosis a la vez.
>
>So, any clues?

Actually, that looks quite familiar to me (sigh).

The problem is likely related to codepage translations, especially between DOS and Windows. Perhaps the text involved was saved using a DOS (as opposed to Windows) codepage. Check the following: How does the text file look if you open it it Notepad? Try to translate from codepage 850, or perhaps 471 (?) to a Windows codepage.

Also, sometimes you must make sure that tables involved are marked with the Windows codepage - or with the DOS codepage, if the table is from the third-party tool.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform