Issue with new posts on Windows 10 Japanese Locale

Hi all,

I have followed the instruction for deploying my first page using hugo,
as described at

At Step 4: Add Some Content of the above quick start I get the following error

hugo new posts/LICENSE.md
Error: “C:\Users\far48205\quickstart\config.toml:4:1”: unmarshal failed: Near line 4 (last key parsed ‘theme =“ananke”’): expected key separator ‘=’, but got ‘\r’ instead

My hugo env is as below

Hugo Static Site Generator v0.79.0/extended windows/amd64 BuildDate: unknown
GOOS=“windows”
GOARCH=“amd64”
GOVERSION=“go1.15.1”

I am using Windows 10 Japanese.

Thanks for your help.

Venka

The error is relatively clear: in file config.toml on line 4, either remove the line and write by hand or remove what looks like a space in front of the = because it does not seem to be a proper space. the line should read

theme="ananke"

With " and not “typographic quotes” - use "and" — not “and”

The issue because of using echo command as show in the quickstart

echo 'theme = "ananke"' >> config.toml

Removing the single quotes and spaces before and after = as below worked.

echo theme="ananke" >> config.toml

Thanks!