Skip to content

Commit b11c3da

Browse files
README-Unicode.md: Fix spelling and grammar
Signed-off-by: Bernhard Kaindl <bernhard.kaindl@cloud.com>
1 parent 86b5579 commit b11c3da

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README-Unicode.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@
44

55
Python3.6 on XS8 does not have an all-encompassing default UTF-8 mode for I/O.
66

7-
Newer Python versions have an UTF-8 mode that they even enable by default.
8-
Python3.6 only enabled UTF-8 for I/O when an UTF-8 locale is used.
7+
Newer Python versions have a UTF-8 mode that they even enable by default.
8+
Python3.6 only enabled UTF-8 for I/O when a UTF-8 locale is used.
99
See below for more background info on the UTF-8 mode.
1010

1111
For situations where UTF-8 enabled, we have to specify UTF-8 explicitly.
1212

13-
Such sitation happens when LANG or LC_* variables are not set for UTF-8.
14-
XAPI plugins like auto-cert-kit find themself in this situation.
13+
This happens when LANG or LC_* variables are not set for UTF-8.
14+
XAPI plugins like auto-cert-kit find themselves in this situation.
1515

1616
Example:
1717
For reading UTF-8 files like the `pciids` file, add `encoding="utf-8"`.
18-
This applies especailly to `open()` and `Popen()` when files my contain UTF-8.
18+
This applies especially to `open()` and `Popen()` when files may contain UTF-8.
1919

20-
This also applies when en/decoding to/form `urllib` which uses bytes.
20+
This also applies when en/decoding to/from `urllib` which uses bytes.
2121
`urllib` has to use bytes as HTTP data can of course also be binary, e.g. compressed.
2222

2323
## Migrating `subprocess.Popen()`

0 commit comments

Comments
 (0)