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

Re: User converter works in false direction

#1 User converter works in false direction

Posted by: Andreas | Date: 2017-12-14 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: 2017-12-15 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 2017-12-15 00:41 by Andreas.

Options: Reply | Quote | Up ^


#3 Re: User converter works in false direction

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

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

Options: Reply | Quote | Up ^


#4 Re: User converter works in false direction

Posted by: pspad | Date: 2018-03-27 08:10 | IP: IP Logged

It wasn't simple "switched". I added possibility to use only one direction conversion and it causes problems. Will be solved in the new build

Options: Reply | Quote | Up ^






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