Esri / arcgis-cookbook

Chef cookbooks for ArcGIS
Apache License 2.0
298 stars 116 forks source link

lexical error: invalid bytes in UTF8 string #161

Closed cadams84 closed 6 years ago

cadams84 commented 6 years ago

Chef Client 13.8.5 ArcGIS Enterprise 10.6

When running the recipes below, I get the error "lexical error: invalid bytes in UTF8 string" when specifying a password with the characters #£YbSZQ95!X4 for the windows service domain account.

"run_list": [
    "recipe[arcgis-enterprise::system]",
    "recipe[esri-iis]",
    "recipe[arcgis-enterprise::portal]",
    "recipe[arcgis-enterprise::portal_wa]"
]

}

cadams84 commented 6 years ago

The problem was with how the JSON was saved. It was resaved as UTF-8 using notepad++ encoding and now works.