NatLabRockies / NatLabRockies/OpenStudio

UTF-16 gbXML files not handled correctly in some cases

Open
#3,684 8 comments 0 reactions 1 assignee View on GitHub

@joseph-robertson is already working on this.

Since Jul 20, 2020.

component - gbXML severity - Normal Bug
Dominant language
C++
Stars
646
Forks
237
Avg merge
3d 11h
Merged PRs (30d)
10

Description

See more information at https://github.com/NREL/OpenStudio/pull/3673

Need to ensure that OpenStudio correctly handles reading gbXML files in UTF-16 and UTF-8, need unit tests for each to read gbXML and convert to OSM. Need to verify that encoding matches actual xml contents using text editor. Also need to see if there are different byte orders (big endian/little endian) are used in UTF-16 in the wild.

If unit tests show the core correctly handles UTF-16 files then the remaining issue is in passing UTF-16 gbXML files to the embedded gbXML editor.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.