Quote:
Originally Posted by BetterRed
I'm not sure URL encoding ever worked in web links (http and https), very few of the web urls I have in LT columns need any encoding, just happened to stumble on one today.
BR
|
Your test data that I used:
#~ url = 'file:///X:%5CMyPluginsPy3%5C_ris_import_dir%5Cabstract.txt '
#~ url = "file:///D:/Calibre/Libraries/Default/!Attachments/book%20%5B30%5D/"
#~ url = "file:///D:/Calibre/Libraries/Default/!Attachments/book%20(30)"
#~ url = "file:///D:/Calibre/Libraries/Default/!Attachments/book%2030/"
example: book%20%5B30%5D decodes as: book [30]
That still works for files. I haven't touched that code since the first test version that had it. I will confirm the same is true for non-files.
NV handles these (the paste messed with the column/header alignment):
Code:
#~ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
#~ newline ........................ space " % - . < > \ ^ _ ` { | } ~
#~ %0A or %0D or %0D%0A %20 %22 %25 %2D %2E %3C %3E %5C %5E %5F %60 %7B %7C %7D %7E
#~ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
#~ ! # $ & ' ( ) * + , / : ; = ? @ [ ]
#~ %21 %23 %24 %26 %27 %28 %29 %2A %2B %2C %2F %3A %3B %3D %3F %40 %5B %5D
#~ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
DaltonST