robertb_NZ
Well-known member
MANASYS Jazz is a COBOL-generating programming system. Sometimes I want to generate a line like this, with a currency symbol for Euro, Pounds, or Yen: -
The line is written out with
CobolOut is defined in the WriteCOBOL class as
When CobolOut.WriteLine(Lineout) is executed, Lineout carries the Euro symbol as x80, which is correct. However it is written to the file as xE282AC, which I'm told is the UTF-8 encoding for a Euro. This causes the COBOL compile to fail. I get correct results if I edit the COBOL line to ensure that x80 is used. With both x80 and xE282AC the symbol is displayed correctly.
How do I prevent this code change?
Thank you, Robert Barnes.
VB.NET:
000090 CURRENCY SIGN IS '€' WITH PICTURE SYMBOL '$'.
VB.NET:
CobolOut.WriteLine(Lineout)
VB.NET:
Property CobolOut As StreamWriter
When CobolOut.WriteLine(Lineout) is executed, Lineout carries the Euro symbol as x80, which is correct. However it is written to the file as xE282AC, which I'm told is the UTF-8 encoding for a Euro. This causes the COBOL compile to fail. I get correct results if I edit the COBOL line to ensure that x80 is used. With both x80 and xE282AC the symbol is displayed correctly.
How do I prevent this code change?
Thank you, Robert Barnes.