MichaelChirico / potools

Tools for working with translations in R
https://michaelchirico.github.io/potools/
58 stars 2 forks source link

default to UTF-8 when writing .pot files #300

Closed MichaelChirico closed 1 year ago

MichaelChirico commented 1 year ago

Closes #299

cc @maelle, this should close the loop from po_extract() generating a .pot file with charset=UTF-8 after which po_compile() will not get tripped up.

This further closes down the options for users of {potools} to work with translations in another encoding, which seems fine to me. Any user passionate about maintaining non-UTF-8 translations is welcome to write some relevant PRs.