Artur
Artur

Reputation: 217

How to detect difference between HEX String and standard String

I have two strings:

String a = "\u00E4";
String b = "ä";

When I compare them to each other, i get the answer: true. How to detect the difference?

Upvotes: 0

Views: 2309

Answers (1)

Sibbo
Sibbo

Reputation: 3914

There is no difference. The \u00E4 is translated to ä at compile time.

Upvotes: 9

Related Questions