Skip to content

Commit 3f61c31

Browse files
committed
Merge branch 'master' of https://github.com/codebox/homoglyph
2 parents ae990df + 02791f3 commit 3f61c31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,4 @@ This can cause problems when attempting to process Strings in order to detect ho
7272
## Java and Unicode
7373
Unfortunately, [Java also has a Unicode problem](https://docs.oracle.com/javase/tutorial/i18n/text/unicode.html)! - when the language was designed, the Unicode standard only used 16-bits to encode each character, and so the corresponding Java char data type was specified to have 16-bits as well. The Unicode standard has since been updated to add many more different characters, and more than 16 bits are required to represent them all. This means that we must [be careful when handling Strings that contain high-value characters](https://docs.oracle.com/javase/tutorial/i18n/text/design.html), we can't rely, for example, on the .length() method returning the correct number of characters in a String.
7474

75-
This [Java class provides a homoglyph-aware search function](https://github.com/codebox/homoglyph/blob/master/java/src/Homoglyph.java) that correctly handles high-value Unicode characters by using the int datatype to represent codepoint values.
75+
This [Java class provides a homoglyph-aware search function](https://github.com/codebox/homoglyph/blob/master/src/main/java/net/codebox/homoglyph/Homoglyph.java) that correctly handles high-value Unicode characters by using the int datatype to represent codepoint values.

0 commit comments

Comments
 (0)