You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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:
Output for the domain part is
ex<e3><U+00A4>mple.org
. Expected:exämple.org
.The text was updated successfully, but these errors were encountered: