Skip to content

Commit

Permalink
fixes for utf-8 support and changed version number to 3.2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
cmcpasserby committed Sep 22, 2023
1 parent 87229d1 commit 5b235c2
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 10 deletions.
3 changes: 3 additions & 0 deletions .idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 6 additions & 7 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# MayaCharm

## [Unreleased]
## [3.2.6]

## [3.2.7] - 2023-09-22
### Fixes
- now properly recognized UTf-8 code points in remotely executed scripts

## [3.2.6] - 2022-02-31
### Added
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pluginGroup = ca.rightsomegoodgames.mayacharm
pluginName_ = MayaCharm
pluginVersion = 3.2.6
pluginVersion = 3.2.7

pluginSinceVersion = 203.0
pluginVerifierIdeVersions = PY-2021.3
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/resources/PythonStrings.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ enum class PythonStrings(val message: String) {
CLOSE_LOG("import maya.cmds as cmds;cmds.cmdFileOutput(closeAll=True)"),

// no clue why the maya.cmds part is needed, but it works and prevents things from getting executing twice
EXECFILE("python(\"exec(compile(open(\\\"{0}\\\").read(), \\\"{0}\\\", \\\"exec\\\"))\")"),
EXECFILE("python(\"exec(compile(open(\\\"{0}\\\", encoding=\\\"utf-8\\\").read(), \\\"{0}\\\", \\\"exec\\\"))\")"),
PYSTDERR("# Error: "),
PYSTDWRN("# Warning: "),
SETTRACE("import pydevd; pydevd.settrace(host=\"{0}\", port={1,number,#}, suspend={2}, stdoutToServer={3}, stderrToServer={3})"),
Expand Down

0 comments on commit 5b235c2

Please sign in to comment.