Decode Error Output Not Utf-8
Contents |
script, ie. print("hello") on Windows 7, I get this error message in the output window: [Decode error - output not utf-8][Finished] On Ubuntu everything works as expected.
Decode Error Output Not Utf-8 Python
Any help would be appreciated. Bernard jps 2011-01-31 12:52:32 UTC #2 It's important sublime decode error - output not utf-8 that the output encoding of your program, and the encoding that the .sublime-build file specify match up. By default, the sublime text encoding utf8 output encoding is assumed to be utf-8. This works for me with Python 2.6 on windows, perhaps Python 3 changes something in this area (and assuming you're using Python 3). You can try
Python Encoding
adding an explicit encoding line to Packages/Python/Python.sublime-build on windows, and specifying "encoding" to be perhaps cp1252 or utf16 - the full list of available options is at docs.python.org/library/codecs.h ... -encodings e.g: { "cmd": "python", "-u", "$file"], "file_regex": "^ ]*File \"(...*?)\", line ([0-9]*)", "selector": "source.python", "encoding": "cp1252" } Psycho_Dad 2011-09-17 11:49:49 UTC #3 I have a similar problem (related to this same error). I have a simple LaTeX project and I configured a build system to invoke pdflatex / latexmk which is working fine, everything compiles; however when the log file generated by the process contains non-ASCII characters I get the error "[Decode error - output not utf-8][Finished]". This is because, the encoding of the output file changes from ASCII to latin1. I'm aware that Sublime cannot be made responsible for other programs output, but I could not configure pdflatex / latexmk to change its output encoding... so I'm here. Is there a solution to this? (Specifying "encoding": "[cp1252|latin1|latin2|...]" in the build system definition does not help.) Thanks in advance! PS.: Is Sublime blog the right place to subscribe for receiving updates on new builds, RC's and stuff? bussiere 2012-02-24 22:41:27 UTC #4 Idem for me with erlang on windows. RegardsBussiere klor 2012-12-28 12:11:00 UTC #5 This PHP scripts also fails (saved with encoding: UFT-8):
Sublime Text 2?My code works fine. Everything works and then suddenly a UTF-8 output error pops up. Sometimes it disappears if i try to run it again. Right now, it's especially acting up. How do I resolve this?UpdateCancelAnswer Wiki1 Answer Srijan Mishra, Sublime Text fanWritten 120w agoIt's important that the output encoding of your program, and the encoding that the .sublime-build file specify match up. By default, the output encoding is assumed to be utf-8.In case you are using python, you can try adding an explicit encoding line to Packages/Python/Python.sublime-build on windows, and specifying "encoding" to be perhaps cp1252 or utf16 - the full list of available options is at 7.8. codecs - Codec registry and http://forum.sublimetext.com/t/decode-error-output-not-utf-8/1152 base classes - Python v2.7.7 documentation For other languages too please see if your language output matches sublime text settings.3.7k Views · Answer requested by DaveView More AnswersRelated QuestionsWhy does running the same program sometimes output "Decode Error - Output not UTF8" and sometimes not?How do I get rid of BOM in sublime Text 2?Can I get code completion and documentation hyperlinks for Python in Sublime Text 2?How do you compile and run Java in Sublime Text 2?Why https://www.quora.com/How-do-I-get-the-UTF8-error-to-go-away-in-Sublime-Text-2 am I not able to take inputs in sublime text 2? I get the following error.How do I convert a Sublime Text 2 theme to an Atom theme?How do I hide the find/replace bar in Sublime Text 2?How do I install Zen Coding for Sublime Text 2?How do I rectify an error using Sublime Text 2?How can I get Gensim on Sublime Text 2?Why is Sublime Text 2 so popular?Does Sublime Text 2 make money?How can Sublime Text 2 be improved?How can I get the most out of Sublime Text?What are the must-have packages for Sublime Text 2?What are some good color schemes for Sublime Text 2?What are some useful Sublime Text 2 tricks and hacks?Is there a package to get jQuery Mobile autocomplete in Sublime Text 2?Why do the "unable to connect dbase" and following errors occur when I run Sublime Text 2?Package control in sublime text 2?Related QuestionsWhy does running the same program sometimes output "Decode Error - Output not UTF8" and sometimes not?How do I get rid of BOM in sublime Text 2?Can I get code completion and documentation hyperlinks for Python in Sublime Text 2?How do you compile and run Java in Sublime Text 2?Why am I not able to take inputs in sublime text 2? I get the following error.How do I convert a Sublime Text 2 theme to an Atom theme?How do I hide the find/re
Sign in Pricing Blog Support Search GitHub This repository https://github.com/JeffreyWay/Laravel-4-Generators/issues/336 Watch 237 Star 3,107 Fork 720 JeffreyWay/Laravel-4-Generators Code Issues 47 Pull requests 19 Projects 0 Pulse Graphs New issue Decode error - output not utf-8 #336 Closed barbuslex opened this Issue Jun 3, 2014 · 2 comments Projects None yet Labels None yet decode error Milestone No milestone Assignees No one assigned 2 participants barbuslex commented Jun 3, 2014 Hi, When i use generate:seed fonction in sublime text 3 i've got this error : [Decode error - output not utf-8] [Finished in 0.0s with exit code 1] [cmd: php output not utf-8 C:\wamp\www\laravel\artisan generate:seed users] [dir: C:\wamp\www\laravel] [path: C:\Ruby193\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\app\oracle\product\11.2.0\client_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Microsoft\Exchange Server\bin;C:\Program Files\Microsoft\Exchange Server\Scripts;C:\wamp\bin\php\php5.4.16;C:\ProgramData\ComposerSetup\bin;C:\Program Files (x86)\Git\cmd;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\OpenVPN\bin;C:\pstools;C:\Program Files\TortoiseSVN\bin;C:\Program Files\nodejs\;C:\Users\mouftier-al\AppData\Roaming\npm] Anyone can help me to solve it ? Thanks Owner JeffreyWay commented Jun 3, 2014 In Sublime? Meaning that you're using a plugin or something? barbuslex commented Jun 3, 2014 Sorry it's my bad... this problem concerns Laravel-4-Artisan plugin ^^ barbuslex closed this Jun 3, 2014 Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. Terms Privacy Security Status Help You can't perform that action at this time. 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.