HenrikBengtsson / Wishlist-for-R

Features and tweaks to R that I and others would love to see - feel free to add yours!
https://github.com/HenrikBengtsson/Wishlist-for-R/issues
GNU Lesser General Public License v3.0
134 stars 4 forks source link

Make UTF-8 the default encoding for package metadata #146

Open nfultz opened 1 year ago

nfultz commented 1 year ago

I recently saw a thread on R-pkg-devel where someone was struggling with errors caused by an errant Byte Order Marker in their NAMESPACE file - https://en.wikipedia.org/wiki/Byte_order_mark - which brought back bad memories from grad school circa 2010.

It would be nice if R defaulted to UTF 8 instead. This would also be good because in DESCRIPTION, authors could then spell their names correctly with accent characters or other alphabets.

Anyone that actually needed an alternative encoding could still declare that for their particular package.

HenrikBengtsson commented 1 year ago

I recently saw a thread on R-pkg-devel ...

Can you please post a link to this; lots of the issues here are around for a long time, and it increases the chances for someone to put work in if we minimize any friction. thx

nfultz commented 1 year ago

Thread is here https://stat.ethz.ch/pipermail/r-package-devel/2023q1/008811.html

On Fri, Jan 20, 2023 at 11:46 AM Henrik Bengtsson @.***> wrote:

I recently saw a thread on R-pkg-devel ...

Can you please post a link to this; lots of the issues here are around for a long time, and it increases the chances for someone to put work in if we minimize any friction. thx

— Reply to this email directly, view it on GitHub https://github.com/HenrikBengtsson/Wishlist-for-R/issues/146#issuecomment-1398853794, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADGGTUGEKAHWRSMNBBZ3A3WTLTSNANCNFSM6AAAAAAUB2OQOQ . You are receiving this because you authored the thread.Message ID: @.***>