New: Learn Statamic on Laracasts!

We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

Using UTF-8 characters in bard field type

Torben Steinhardt February 5, 2021 by Torben Steinhardt

Hi everyone,

I encountered problems when using UTF-8 characters in bard fieldtype. I have a field "bard_field" with

    bard_field:
      -
        type: paragraph
        content:
          -
            type: text
            text: 'ÄÖÜ'

Using {{ bard_field }} in antlers template gives "���" in HTML result.

HTML meta is set correct and page works with UTF-8 in every other field type except bard fields. File encoding is also utf-8.
Does someone have the same issues? Am I missing sth.?

Answered by Torben Steinhardt!
>>>>>>> Answered <<<<<<<
9 Replies
1 Follower