title: UnicodeDecodeError: cp932 codec can't decode byte 0x81 in position 81
body: <p>I'm trying to open an '.obj' file using 2 python scripts, but when I try compiling the project, it throws me the next error message:</p>
  
  <pre><code>UnicodeDecodeError: cp932' codec can't decode byte 0x81 in position 81: illegal multibyte sequence 
  </code></pre>
  
  <p>My code looks like this:</p>
  
  <pre><code>CarString = 'volks.obj'
  global car
  global objects
  
  obj = test3.object()    
  car = obj.load_obj(CarString)
  
  objects.append(glGenLists(1))
  </code></pre>
  
  <p>Class object:</p>
  
  <pre><code>class object():
      def __init__(self, obj = None):
          if obj:
              self.load_obj(obj)
              #self.displaylist = self.crear_dl()
  
      def load_obj(self, file):
          with open(file, 'r') as obj:
              data = obj.read() 
  </code></pre>
  
  <p>The</p>
  
  <pre><code>data = obj.read()
  </code></pre>
  
  <p>part is what throws me this error. I'm new to Python so I can use some help to fix this. Thanks.</p>