You are here: PSPad forum > English discussion forum > User converter works in false direction

User converter works in false direction

#1 User converter works in false direction

Posted by: Andreas | Date: 12/14/2017 11:34 | IP: IP Logged

I have this converter in 5.5.5 (243)

;User conversion definition file for PSPad editor
[Settings]

;name for Left to Right conversion. If you don't fill name or delete it,
;it won't allow conversion. E.g. if you want to offer one direction conversion only
;For regular expressions style forward direction is allowed only
ForwardName=ASCII to URL-encoding
BackwardName=URL-encoding to ASCII

;ignore char case - it tells convertor to ignore char case in specific direction
ForwardIgnoreCase=0
BackWardIgnoreCase=0

;ConversionStyle=strings - convertor will use string replacement from [Strings] section
;ConversionStyle=chars - convertor will use conversion table from [Chars] section
;ConversionStyle=regexpressions - convertor will use regular expression [RegExpressions] section - not yet implemented
; regular expression style is one directional only!
ConversionStyle=strings

;expression from|expression to
[Strings]
|%20
!|%21
"|%22
#|%23
$|%24
%|%25
&|%26
'|%27
(|%28
)|%29
...

Try to convert "%21" from URL to ASCII. This will not work. You have to use ASCII to URL-encoding. This works but is the wrong direction as defined.

Options: Reply | Quote | Up ^


#2 Re: User converter works in false direction

Posted by: Andreas | Date: 12/15/2017 00:40 | IP: IP Logged

Sorry, has to be 5.0.0 (243).

ps I can not edit my posts anymore.

Mmh, I can edit this one, but not the first.

Edited 1 time(s). Last edit at 12/15/2017 00:41 by Andreas.

Options: Reply | Quote | Up ^


#3 Re: User converter works in false direction

Posted by: pspad | Date: 12/15/2017 03:25 | IP: IP Logged

There is possibility to edit own posts, but limited time only.

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2018 Jan Fiala
Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák