i have file having name "SSE-Künden, SSE-Händler.pdf"
which having those two unicode char ( ü,ä)
when i am printing this file name on python interpreter the unicode values are getting converted into respective ascii value i guess 'SSE-K\x81nden, SSE-H\x84ndler.pdf'
but i want to
test dir contains the pdf file of name 'SSE-Künden, SSE-Händler.pdf'
i tried this: path = 'C:\test' for a,b,c in os.walk(path): print c
['SSE-K\x81nden, SSE-H\x84ndler.pdf']
how do i convert this ascii chars to its respective unicode vals and i want to show the original name("SSE-Künden, SSE-Händler.pdf"
) on interpreter and also writeing into some file as it is.how do i achive this. I am using Python 2.6 and windows OS.
Thanks.