Index: pyyaml/trunk/lib3/yaml/reader.py
===================================================================
--- pyyaml/trunk/lib3/yaml/reader.py	(revision 328)
+++ pyyaml/trunk/lib3/yaml/reader.py	(revision 361)
@@ -157,5 +157,5 @@
                             'strict', self.eof)
                 except UnicodeDecodeError as exc:
-                    character = exc.object[exc.start]
+                    character = self.raw_buffer[exc.start]
                     if self.stream is not None:
                         position = self.stream_pointer-len(self.raw_buffer)+exc.start
