fix several typos in documentation and comments (#12553)

This commit is contained in:
Nindaleth 2019-10-30 09:08:45 +01:00 • committed by Miran
commit 34dbc5699e
29 changed files with 37 additions and 37 deletions

View file

@ -468,7 +468,7 @@ proc convert*(s: string, destEncoding = "UTF-8",
srcEncoding = "CP1252"): string =
## converts `s` to `destEncoding`. It assumed that `s` is in `srcEncoding`.
## This opens a converter, uses it and closes it again and is thus more
## convienent but also likely less efficient than re-using a converter.
## convenient but also likely less efficient than re-using a converter.
## utf-16BE, utf-32 conversions not supported on windows
var c = open(destEncoding, srcEncoding)
try: