You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it just throws error that it cant load it
python by default tries to open file in windows-1252, but it fails
would be good if UnityDocument.load_yaml would use utf-8 encoding by default
@classmethoddefload_yaml(cls, file_path):
register=UnityScalarRegister()
withopen(file_path, newline='', encoding='utf8') asfp:
data= [dfordinload_all(fp, register)]
# use document line endings if no mixed lien endings found, else default to linuxline_endings=UNIX_LINE_ENDINGSifisinstance(fp.newlines, tuple) elsefp.newlinesdoc=UnityDocument(data, newline=line_endings, file_path=file_path, register=register)
returndoc
The text was updated successfully, but these errors were encountered:
it just throws error that it cant load it
python by default tries to open file in windows-1252, but it fails
would be good if UnityDocument.load_yaml would use utf-8 encoding by default
The text was updated successfully, but these errors were encountered: