tests/encoding.R

library(magick)
filename = enc2native('b\u00EAta.png')
image_write(, filename)
stopifnot(file.exists(filename))
image_read(filename)
unlink(filename)

Try the magick package in your browser

Any scripts or data that you put into this service are public.

magick documentation built on May 29, 2024, 8:50 a.m.