qgis/Quantum-GIS — pull request #695 by minorua (2013-07-04 08:47:07+00:00)
Title: fTools: remove lines that cause error with non-ascii path

When I used "Define Current Projection" tool with shapefiles that include non-ascii characters in their path, I got the following error message. In 1.8, this tool works even if the file path includes non-ascii characters.

Traceback (most recent call last):
File "C:\OSGeo4W\apps\qgis-dev\python\plugins\fTools\tools\doDefineProj.py", line 121, in accept
print "PATH", inPath
UnicodeEncodeError: 'ascii' codec can't encode characters in position 51-53: ordinal not in range(128)

Python version:
2.7.4 (default, Apr 6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)]

QGIS version:
1.9.0-Master Master, 3f9890f