Printing € - the Euro sign

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

Printing € - the Euro sign

Postby Bengt » Tue Apr 20, 2021 12:16 pm

Is it possible to print the euro sign with 32 bit VPE? I use Dataflex and Swedish national settings in Windows.
I tried with Arial. When I print ASCII 128 I get Ç
When I copied from Notepad and checked the ascii value, I got 63 but when I tried to print that, a question mark was printed.

Is there a solution to this problem?
Bengt
 
Posts: 89
Joined: Fri Jan 27, 2006 5:29 pm

Re: Printing € - the Euro sign

Postby IDEAL Software Support » Tue Apr 20, 2021 8:00 pm

See VpeSetCharset() (property: CharSet): Your codepage is WIN_ANSI for Swedish. In this Wikipedia article, you find the character table:

https://de.wikipedia.org/wiki/Windows-1252

The Euro character is encoded there as hex $80 (128 decimal).

If you don't get the Euro character, did you set a different codepage?
IDEAL Software Support
 
Posts: 1633
Joined: Thu Nov 18, 2004 4:03 pm


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 13 guests

cron