Generating an html report from two xml files encoded as UTF-8 generates a report encoded as UCS-2 LE BOM per Notepad++.
Firefox is able to display the page correctly. However I am first saving the file to the db as a clob via python.
Something like:
where test3.html is the report generated by BC.
Here is some output from the above code:
So there is definitely something in the front mucking things up.
I read that BC should output the report in the format of the left input file and that is working as expected for any files that are not .XML
I also double checked and Notepad++ opens the left and right XML files as UTF-8, so the encoding of the input files appears to be ok.
How can I get my report to be generatated in UTF-8.
Version 3.3.12 b 18981
Thanks,
Dennis
Firefox is able to display the page correctly. However I am first saving the file to the db as a clob via python.
Something like:
Code:
print(open("test3.html").read())
Here is some output from the above code:
*■< ! D O C T Y P E H T M L P U B L I C " - / / W 3 C / / D T D H T M L
4 . 0 1 T r a n s i t i o n a l / / E N " " h t t p : / / w w w . w 3 . o
g / T R / h t m l 4 / l o o s e . d t d " >
< h t m l >
< / h t m l >
4 . 0 1 T r a n s i t i o n a l / / E N " " h t t p : / / w w w . w 3 . o
g / T R / h t m l 4 / l o o s e . d t d " >
< h t m l >
< / h t m l >
I read that BC should output the report in the format of the left input file and that is working as expected for any files that are not .XML
I also double checked and Notepad++ opens the left and right XML files as UTF-8, so the encoding of the input files appears to be ok.
How can I get my report to be generatated in UTF-8.
Version 3.3.12 b 18981
Thanks,
Dennis
Comment