-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UnicodeEncodeError #73
Comments
I have same issue. But there is no ViewInBrowserCommand.py such file in my computer. Traceback (most recent call last): Need help... |
@godlike0108 use this to extract package files: |
@bogkonstantin Wow that works! Thanks!! |
Today I have an issue:
UnicodeEncodeError: 'ascii' codec can't encode characters in position 56-58: ordinal not in range(128)
Traceback (most recent call last):
File "Path to Sublime\sublime_plugin.py", line 818, in run_
return self.run(edit)
File "Path to Sublime\Data\Packages\View In Browser\ViewInBrowserCommand.py", line 202, in run
pluginSettings = self.loadPluginSettings(browser)
File "Path to Sublime\Data\Packages\View In Browser\ViewInBrowserCommand.py", line 177, in loadPluginSettings
result["baseCommand"] = self.getBaseCommand(selectedOs[platform][result["browser"]], osName)
File "Path to Sublime\Data\Packages\View In Browser\ViewInBrowserCommand.py", line 85, in getBaseCommand
baseCommand = self.expandWindowsUserShellFolder(baseCommand)
File "Path to Sublime\Data\Packages\View In Browser\ViewInBrowserCommand.py", line 67, in expandWindowsUserShellFolder
windowsFolders = self.getWindowsUserShellFolders()
File "Path to Sublime\Data\Packages\View In Browser\ViewInBrowserCommand.py", line 138, in getWindowsUserShellFolders
return_dict[name] = value.encode("ascii")
My solution (it works well in my case):
In file ViewInBrowserCommand.py", line 138:
Change to:
return_dict[name] = value.encode("ascii", "ignore")
The text was updated successfully, but these errors were encountered: