## In this example the ZBNF script contains $inputEncoding="iso-8859-1" but also $inputEncodingKeyword="encoding".
## The input text contains the requested inputEncodingKeyword with encoding = "UTF-8", and a BOM (Byte Order Mark) as first char.
## As result the input text is read correctly with UTF-8.

## The representation of parsed text in XML is written in the systems character encoding:
java -cp ../../zbnfjax/zbnf.jar org.vishia.zbnf.Zbnf2Xml -i:input_UTF8.txt -s:testEncodings.zbnf -y:output.xml

## The representation of parsed text in XML is written in UTF-8:
java -cp ../../zbnfjax/zbnf.jar org.vishia.zbnf.Zbnf2Xml -i:input_UTF8.txt -s:testEncodings.zbnf -x:outputUTF8.xml

## The representation of parsed text in XML is written in US-ASCII. TODO special chars are written as '?' yet.
java -cp ../../zbnfjax/zbnf.jar org.vishia.zbnf.Zbnf2Xml -i:input_UTF8.txt -s:testEncodings.zbnf -z:outputASCII.xml

## The representation of parsed text in XML is written in US-ASCII. TODO special chars are written as '?' yet.
java -cp ../../zbnfjax/zbnf.jar org.vishia.zbnf.Zbnf2Xml -i:input_Cyrillic.txt -s:testEncodings.zbnf -y:outputCyrilic.xml -charset:UTF-16


