Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: maybe, a corrupt selected entry in Tk::BrowseEntry

by Corion (Patriarch)
on Dec 22, 2014 at 16:22 UTC ( [id://1111037]=note: print w/replies, xml ) Need Help??


in reply to Re^2: maybe, a corrupt selected entry in Tk::BrowseEntry
in thread maybe, a corrupt selected entry in Tk::BrowseEntry

Most likely, you have two strings that are similar in how they display but are different in how they are encoded. The easiest way to get two such strings is by reading one from a file and the other from the filesystem, for example via readdir.

If you are certain that your file system stores filenames as UTF-8, you can Encode::decode the filenames. You should do likewise with the filenames read from your file or stored in your program code. That way, the filenames should be consistent.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1111037]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2024-03-28 08:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found