buildingSMART / bSDD

The buildingSMART Data Dictionary repository, where we publish the documentation, examples and more. We don't publish here the data, the source code of the bSDD service or the front end of the website.
https://www.buildingsmart.org/users/services/buildingsmart-data-dictionary/
MIT License
129 stars 36 forks source link

Wrong encoding in RDF/XML #60

Closed lemoinet closed 1 year ago

lemoinet commented 1 year ago

When you request https://test.bsdd.buildingsmart.org/uri/pdt/pdt-1.0/class/suspendedceilingkit with Accept header equals to "application/rdf+xml", the output contains:

<?xml version="1.0" encoding="utf-16"?>

But the document is actually in utf-8 instead of utf-16

Change the encoding in RDF/XML from utf-16 to utf-8

Baars-IT commented 1 year ago

Appears to be a small bug in the dotNetRDF library we're using. Applied a work-around to fix it, will be put into production soon.