thuswa / subdms

Automatically exported from code.google.com/p/subdms
GNU General Public License v3.0
0 stars 0 forks source link

Fix encoding problem document integration #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Problem with fileinput writing in-line to tex files. 

when writing fields tpo tex files with non us-ascii characters subdms
crashes with the follwing error:

UnicodeEncodeError: 'ascii' codec can't encode character u'\xf6' in
position 28: ordinal not in range(128) 

Original issue reported on code.google.com by albert.t...@gmail.com on 5 May 2009 at 8:19

GoogleCodeExporter commented 9 years ago
Solution: utf-8 encoding of file and replaced in-line replace through fileinput 
with
more traditional method.  

Original comment by albert.t...@gmail.com on 9 Jul 2009 at 10:04