Unmarshal failed: toml: invalid character at start of key: ï

Getting some weird errors suggesting a character encoding problem but I’m using UTF-8.

Here’s my very barebones config.toml:

baseURL = 'https://www.danielontech.com'
languageCode = 'en-gb'
title = 'Daniel's Tech Blog'
theme = 'hugo-bearblog'

When I try running the server I get:

unmarshal failed: toml: invalid character at start of key: ï

Any ideas? TIA!

Use double quotes instead "Daniel's Tech Blog".

1 Like

Sweet! Thank you!

(I was thinking it was the apostrophe but didn’t know that the double quotes would be okay in TOML!)

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.