diff options
Diffstat (limited to 'doc/source')
-rw-r--r-- | doc/source/index.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/source/index.rst b/doc/source/index.rst index e2d81aa..3a2069d 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -1017,6 +1017,9 @@ code finds all the <b> tags in the document:: soup.find_all('b') # [<b>The Dormouse's story</b>] +If you pass in a byte string, Beautiful Soup will assume the string is +encoded as UTF-8. You can avoid this by passing in a Unicode string instead. + .. _a regular expression: A regular expression |