Skip to content
Prev 56651 / 63424 Next

R 3.5.3 and 3.6.0 alpha Windows bug: UTF-8 characters in code are simplified to wrong ones

For me, this would be a perfect solution.

I.e., do not use the ?best? fit and leave it to user?s competence:
a) in some functions, utf-8 works
b) in others -> error is thrown (e.g., incomplete string, NA, etc.)
=> user has to change the code with his/her intentional ?best fit string
literal substitute? or use another function that can handle utf-8.

Making an R code working right only on some platforms / trying to keep a
back-compatibility meaning ?the code does not do what you want and the
behaviour differs depending on each every locale but at least, it does not
throw an error? is generally not a good idea - it is dangerous. Users /
coders should know that there is something wrong with their strings and
some characters are ?eaten alive?.

Tomas

?t 11. 4. 2019 v 8:26 odes?latel Tomas Kalibera <tomas.kalibera at gmail.com>
napsal:

  
  

Thread (13 messages)

Tomáš Bořil R 3.5.3 and 3.6.0 alpha Windows bug: UTF-8 characters in code are simplified to wrong ones Apr 10 Tomas Kalibera R 3.5.3 and 3.6.0 alpha Windows bug: UTF-8 characters in code are simplified to wrong ones Apr 10 Jeroen Ooms R 3.5.3 and 3.6.0 alpha Windows bug: UTF-8 characters in code are simplified to wrong ones Apr 10 Tomas Kalibera R 3.5.3 and 3.6.0 alpha Windows bug: UTF-8 characters in code are simplified to wrong ones Apr 10 Yihui Xie R 3.5.3 and 3.6.0 alpha Windows bug: UTF-8 characters in code are simplified to wrong ones Apr 10 Duncan Murdoch R 3.5.3 and 3.6.0 alpha Windows bug: UTF-8 characters in code are simplified to wrong ones Apr 10 Jeroen Ooms R 3.5.3 and 3.6.0 alpha Windows bug: UTF-8 characters in code are simplified to wrong ones Apr 10 Duncan Murdoch R 3.5.3 and 3.6.0 alpha Windows bug: UTF-8 characters in code are simplified to wrong ones Apr 10 Tomas Kalibera R 3.5.3 and 3.6.0 alpha Windows bug: UTF-8 characters in code are simplified to wrong ones Apr 10 Tomáš Bořil R 3.5.3 and 3.6.0 alpha Windows bug: UTF-8 characters in code are simplified to wrong ones Apr 10 Tomáš Bořil R 3.5.3 and 3.6.0 alpha Windows bug: UTF-8 characters in code are simplified to wrong ones Apr 11 Tomas Kalibera R 3.5.3 and 3.6.0 alpha Windows bug: UTF-8 characters in code are simplified to wrong ones Apr 11 Tomáš Bořil R 3.5.3 and 3.6.0 alpha Windows bug: UTF-8 characters in code are simplified to wrong ones Apr 11