This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
action:Execute_a_Shell_Script [2018/06/05 12:22] JMichaelTX ADD section on Python |
action:Execute_a_Shell_Script [2019/04/25 05:11] peternlewis UTF-8 and Non-ASCII Characters |
||
---|---|---|---|
Line 18: | Line 18: | ||
where //[variable‗name]// is the name of your Keyboard Maestro Variable, but with spaces in the name replaced with underscores (`‗`). | where //[variable‗name]// is the name of your Keyboard Maestro Variable, but with spaces in the name replaced with underscores (`‗`). | ||
- | For example: `File Name` would be formated as `$KMVAR‗File‗Name`. | + | For example: `File Name` would be formatted as `$KMVAR‗File‗Name`. |
If your variable already has underscores, you can use it as is. | If your variable already has underscores, you can use it as is. | ||
Line 50: | Line 50: | ||
For more info, see an excellent, detailed discussion of [[https://forum.keyboardmaestro.com/t/png-metadata-comment/6375/29| How To Quote Paths by @ccstone]]. | For more info, see an excellent, detailed discussion of [[https://forum.keyboardmaestro.com/t/png-metadata-comment/6375/29| How To Quote Paths by @ccstone]]. | ||
+ | |||
+ | ==== UTF-8 and Non-ASCII Characters ==== | ||
+ | |||
+ | If you are dealing with non-ASCII characters, you probably want to set the `LC_ALL` environment variable to UTF8, which you can do by setting the Keyboard Maestro variable `ENV_LC_ALL` to “en_US.UTF-8”. | ||
==== Action Gear ==== | ==== Action Gear ==== |