Revision: 2465
Author: janne.t.harkonen
Date: Wed Feb 17 08:19:50 2010
Log: handle unicode in link target
http://code.google.com/p/robotframework/source/detail?r=2465
Modified:
/trunk/src/robot/utils/misc.py
=======================================
--- /trunk/src/robot/utils/misc.py Thu Dec 10 13:50:52 2009
+++ /trunk/src/robot/utils/misc.py Wed Feb 17 08:19:50 2010
@@ -195,7 +195,7 @@
Rationale: os.path.relpath is not available before Python 2.6
"""
-
+ target = target.encode('UTF-8')
target = normpath(target)
base = normpath(base)
if os.path.isfile(base):