Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Strange characters

Status
Not open for further replies.

Polly66

Programmer
Nov 3, 2001
42
AU
Hi,

Does anyone know why I might be getting strange characters (resembling an eastern european language, Sunday looks like DCAEUEO, but with little squiggles on some characters) in reports. It is generally only date related, but is not always apparant. The function CDOW(date) is a common offender. I am using VFP 9 and XP.

Bill
 
Cdow() is language dependant, depending on the resource file used. you seem to want to force usage of the english resource file vfp9enu.dll. Don't distribute other language dependant dlls then, like vfp9deu.dll (that would display "Sonntag" in your case) etc.

VFP will normally use the resource file that matches to os language. If that isn't found it defaults to vfp9enu.dll
vfp can be forced to use a certain resource file with the command line option -L.

Bye, Olaf.
 
Thanks Olaf and Mike,

It is fixed. I thought that it was probably a language thing, but never imagined that VFP would wander between them.

Bill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top