fixing Norwegian names
Closed this issue · 3 comments
bowlerbear commented
Hi!
I kept having a problem of reading in Norwegian letters like ø, æ etc..
Here is a little function that works for me:
https://gist.github.com/bowlerbear/c82fd8c9e751cd7aa14c82328c6b7fb0
And may be useful for other future 'me' s
Diana
jenast commented
Thanks Diana for the suggestion!
When would you typically use this? Is it when you load a file with an
unsuspected encoding? I often have to specify the encoding "windows-1252"
but this looks like a separate issue (?)
Perhaps this is dependent on the locale of your computer?
I don't have any problems adding the function to the package, just trying
to understand the usage.
Also, I guess you want the \xf6 for Æ. And is there a reason you use \U3e35653c
for å and not \xe5?
/Jens
…On Fri, Dec 8, 2017 at 10:32 AM, Diana Bowler ***@***.***> wrote:
Hi!
I kept having a problem of reading in Norwegian letters like ø, æ etc..
Here is a little function that works for me:
https://gist.github.com/bowlerbear/c82fd8c9e751cd7aa14c82328c6b7fb0
And may be useful for other future 'me' s
Diana
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#19>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEnYLyVyBJkp9kfjQuZ0HXtoku7R8JBbks5s-QIbgaJpZM4Q605z>
.
jenast commented
Added in devel branch.
ninsbl commented
Isn`t this fixed with d6275d9?
See also: https://github.com/NINAnor/NinaR/blob/master/R/tidyScandinavian.R
Feel free to reopen if something is missing...