Jump to content

how to convert unicode characters to unicode escape sequences


Recommended Posts

Hi all,
Thanks Malkey for the interesting solution using SRER. It took me a moment to understand the end of your $Output line ==>   &') & "''")   <== so I would like to share its meaning with our readers :)

Malkey used an interesting Replace pattern, based on the Ternary function, as shown in this image :

1987820762_MalkeysternaryinSRER.png.a7f20b9b36dc9a9bfe33d6fb82ce062f.png

Each ampersand (&) is literally included in the updated string resulting from SRER, between the Ternary functions. As there is a final ampersand (circled in red), that's why he added "''" at the end of the string, so the Execute function won't generate an error when executed.

Well done !

Edited by pixelsearch
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...