2023 Nov 17 7:58 AM
Hi Experts
Am trying to compare two characters of same length (character 16) in IF condition. But the IF condition fails eventhough both the characters are similar. later i found in the debugging both the characeters are showing different hexadecimal value. How to solve this. Please find the debugging screenshot in the attachment.
Thanks
Mlee.
2023 Nov 17 9:28 AM
> There are at least eight different horizontal dash-like characters of varying lengths defined in Unicode (Wikipedia).
Since is not possible to know, by the shy debugger screenshot, lack of contextual code/explanation how each value was originated, you can either:
2023 Nov 17 9:58 AM
Hi murali.ram,
These two hexadecimals 2D and A4 may be visible identical, depending on your encoding, but they are really different as your hexadecimal pointed out. This kind of trick disul
I took your date and typed on hexed.it, and changed second date to AD hex char and look what is visible:
After that saved the file and opened on notepad++ and saw it on encoding ANSI:
and look what appears on UTF-8:
BTW: field XBLNR (reference) sometimes face this things as the users copy and paste from some places that may handle similar what is different. This kind of delusion also happens when someone type hyphen in the winword and they automatic change to a beautiful dash character, see similar but it's a different char.
Regards, Fernando Da Rós
2023 Nov 17 10:39 AM
Another answer to say the same than 2 other answers, but differently
3200300032003200AD003000
means blocks of 4 digits are 1 character
3200 = Unicode character U+0032
AD00 = Unicode character U+00AD
etc.
2D00 = Unicode character U+002D
Search the Web to see the difference between U+00AD and U+002D (they look the same but are different).