Skip to content

Commit 810f46d

Browse files
committed
Try to fix #30 - Windows encoding issue
Error was: SyntaxError: Non-ASCII character '\x90' in file C:\Python27\Removevncpasswd.py.exe on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
1 parent 7ae8228 commit 810f46d

File tree

6 files changed

+6
-0
lines changed

6 files changed

+6
-0
lines changed

WindowsRegistry/WindowsRegistry.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
from __future__ import print_function
23
import sys
34
import _winreg as wreg

WindowsRegistry/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
# -*- coding: utf-8 -*-
12
from . import WindowsRegistry

d3des/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
# -*- coding: utf-8 -*-
12
from . import d3des

d3des/d3des.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env python
2+
# -*- coding: utf-8 -*-
23
##
34
## d3des.py - DES implementation
45
##

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
from setuptools import setup, find_packages
23
import inspect
34
import os, errno

vncpasswd.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env python2
2+
# -*- coding: utf-8 -*-
23

34
"""vncpasswd.py: Python implementation of vncpasswd, w/decryption abilities & extra features ;-)"""
45

0 commit comments

Comments
 (0)