Drop support for returning non-UTF-8 encoded responses
Closed this issue · 0 comments
Fdawgs commented
The /pdf/html
and /pdf/txt
routes both support the option to produce non-UTF-8 encoded results via the outputEncoding
query string param:
docsmith/src/routes/pdf/html/schema.js
Lines 94 to 124 in 564cad8
However, these are legacy encodings, W3C recommends using UTF-8 for everything, and the HTML standard reflects this.
These encodings are also not tested in this repo so cannot confirm the correctness of the output, and I have yet to encounter any use-case for them in any modern clinical setting.