Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Added note about UTF-8
  • Loading branch information
sago007 authored Oct 8, 2016
1 parent b81b63a commit d6759de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ Save Games 1: /Users/poul/Library/Application Support
```

# Encoding
For Windows ANSI encoding is always used. Microsoft's implementation of "Unicode" is simply not compatible with platform independent code.
For all other systems the local encoding is used. For most systems this is UTF-8.
Generally you should only append simple ASCII chars to the paths.
From version 3.0 UTF-8 is always used on Windows and will also be the default in almost any other system.
Before version 3.0 Windows used ANSI encoding. Microsoft's default choice of UTF-16 is not compatible with platform independent code.
Although the user may use an charectors they want I recommend, that the progran should not have non ASCII charectors in the soruce code itself.

# Licence
Provided under the MIT license for the same reason XDG is licenced under it. So that you can quickly copy-paste the methods you need or just include the "sago"-folder.

0 comments on commit d6759de

Please sign in to comment.