blob: 2c669eb45e7a64b29cc2acaa3974606e859e7079 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# -*- coding: utf_8 -*-
# This file was created using a text editor that displayed unicode
# characters using their native format. The characters in the
# shelfname string below are taking from a Korean newspaper.
# I have no idea what they mean.
shelfname = u"C:\\Documents and Settings\\배드민턴\\Nanorex"
print "ShelfName = %r" % shelfname.encode("utf_8")
print "ShelfName = " + shelfname.encode("utf_8")
print shelfname.encode("utf_8")
print "ShelfName = %s".encode("utf_8") % shelfname.encode("utf_8")
try:
shelfname = "C:\\Documents and Settings\\배드민턴\\Nanorex"
print "ShelfName = %s" % shelfname.encode("utf_8")
except:
pass
|