in reply to Re^2: How to display/accept unicode chars in a tk entry widget
in thread How to display/accept unicode chars in a tk entry widget

The pragma utf8 fixes your example, but I would not expect it to help with a file name that you read. In that case, you probably have to decode the file name.
Bill
  • Comment on Re^3: How to display/accept unicode chars in a tk entry widget