Hi James,
Ox also had trouble with the Danish municipality names in my data set. Parts of the output disappear if higher ASCII is printed. Use UTF-8 instead (for program and data).
Regards,
Jaap
Van: The ox-users list is aimed at all Ox users [[log in to unmask]] namens Davidson, James [[log in to unmask]]
Verzonden: maandag 12 januari 2015 9:33
Aan: [log in to unmask]
Onderwerp: Printing Puzzle
Hello all,
A puzzle for people with UK keyboards. Run the following program in either OxEdit or OxMetrics (64bit Ox Pro 7 under Windows 7).
#include <oxstd.h>
main()
{
println("Hello World £");
}
The only output I obtain is the Ox header:
“
--------------- Ox at 08:24:08 on 12-Jan-2015 ---------------
“
Delete the pound sterling symbol, however, and the program runs as normal:
“
--------------- Ox at 08:24:22 on 12-Jan-2015 ---------------
Ox Professional version 7.00 (Windows_64/U/MT) (C) J.A. Doornik, 1994-2013
Hello World
“
Running oxl.exe on the command line in a DOS box, the program produces the following:
“
Ox Professional version 7.00 (Windows_64/U/MT) (C) J.A. Doornik, 1994-2013
Hello World ú
“
An explanation of this behaviour gratefully received. Bug or feature? Are there any other keyboard characters with unexpected properties?
Best,
James
|