shorten() is basically the opposite of widen() and will be useful for functions and built-in constants that return strings and need UTF-8 encoding support on Windows, such as working_directory and program_directory.
NOTE: Don't push to
enigma-dev/enigma-dev, instead push to
time-killer-games/enigma-dev and Travis will automatically retest this PR.
Also, passing Travis is not required for this to be merged because this is Windows, so it only needs to pass AppVeyor, which I haven't merged from #1094 yet. So really, don't worry about ENIGMO playing Catch the Clown right now.
I'll just close this, for now. We can copy this function out (or I can rewrite it) when we go to implement UTF-8 support in our Windows functions.
Notice: Undefined variable: context in /var/www/html/enigma-dev.org/issues/view_ticket.php on line 114
Please sign in to post comments, or you can view this issue on GitHub.