Skip to content

replace() and encode() can't differentiate some Chars #3076

@flaedda

Description

@flaedda

Describe the bug
The functions replace() and encode() make no differences between some Chars. For example the chars "≤" and "≥" will be handled as where they are the same characters.

To Reproduce
Steps to reproduce the behavior, use this macro:

[r: stTest = encode("≤Test≥")]
<br>
[r: stTest2 = replace("≤Test≥", "\\≤", "A")]

Expected behavior
Both chars should be handled as different Characters

MapTool Info

  • Version: 1.10.2
  • Install: New

Desktop (please complete the following information):

  • OS: Windows
  • Version [10, 20.H2]

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

Merged

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions