-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
Everybody loves encoding issues ;) When parsing urls containing non-ascii-characters the encoding of the domain is messed up and I have not found a way to fix it yet. That's how it works:
# Create UTF-8 string
url <- "https://exämple.org"
# Conversion is necessary in my RStudio environment
url <- iconv(url,"latin1","UTF-8")
Encoding(url) # UTF-8
print(url) # https://exämple.org
# Parse
url_parse(url)
Output for the domain part is ex<e3><U+00A4>mple.org
. Expected: exämple.org
.
Metadata
Metadata
Assignees
Labels
No labels