$unicode = "ᴊᴀᴍᴇꜱ is cool ⇨ and so is π ☻" print "unicode" { msg => $unicode, } file "/tmp/unicode" { state => "exists", content => $unicode + "\n", }