Created
April 12, 2020 11:43
-
-
Save johnmyleswhite/6f06fa59fdba2cb2dc24df4e5b3501f4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> library("stringr") | |
> str_sub("ñ", start = -1) | |
[1] "̃" | |
> str_sub("ñ", start = -1) | |
[1] "ñ" |
Yes, one was written using a combining character. In a Julia REPL, you can generate the first by writing the following and hitting tab to complete it:
julia> n\tilde
Ugh.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What's the difference between the two? The way you write ñ?