-
Notifications
You must be signed in to change notification settings - Fork 247
Scriptsfileencoding
Michal Levý edited this page Feb 13, 2018
·
7 revisions
When loading script files from the disk, RoundhousE first tries to detect encoding using BOM. If the file doesn't contain BOM, it does fall back to default encoding which is set to UTF-8 by default. You can change default encoding by using defaultencoding
parameter. For the list of possible values see the column Name
in table listed in .NET System.Text.Encoding
class documentation.
Encode your script files in UTF-8 if you can. RoundhousE has some detection of encoding, but it is based on http://www.west-wind.com/WebLog/posts/197245.aspx and not very accurate. It defaults to ANSI if it can't find a BOM.
The default is now to detect UTF8, but to fall back to ANSI. - New in v0.8.5!