Skip to content

Commit

Permalink
Merge branch '1.2_maintenance' into 1.3_maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
johnhaddon committed Aug 9, 2023
2 parents 2a2f27e + 6da2114 commit 526d18b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion Changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,11 @@ Build
- USD : Updated to version 23.05.
- ZLib : Added version 1.2.13.

1.2.10.x (relative to 1.2.10.0)
1.2.10.x (relative to 1.2.10.1)
========


1.2.10.1 (relative to 1.2.10.0)
========

Fixes
Expand Down
3 changes: 2 additions & 1 deletion SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,11 @@ import platform
import shutil
import subprocess
import distutils.dir_util
import codecs

EnsureSConsVersion( 3, 0, 2 ) # Substfile is a default builder as of 3.0.2

if locale.getpreferredencoding() != "UTF-8" :
if codecs.lookup( locale.getpreferredencoding() ).name != "utf-8" :
# The `Substfile` builder uses `open()` without specifying an encoding, and
# so gets Python's default encoding. Unless this is `UTF-8`, any `.py` files
# containing unicode characters will be corrupted during installation.
Expand Down

0 comments on commit 526d18b

Please sign in to comment.