osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Let the copyfilepath.py to support chinese file path name.


Hi,

The following is a gedit plugin which provides a way to copy the current 
file path to the clipboard.

https://github.com/willianveiga/gedit-copy-file-path/blob/master/
copyfilepath.py

But, I try and find that it doesn't support the path/file names including 
chinese characters.

In this case, it will give messy code like this:

dnsmasq/archive/dnsmasq-???

How to fix it?

Regards