diff options
author | Leonard Richardson <leonardr@segfault.org> | 2012-05-24 10:49:48 -0400 |
---|---|---|
committer | Leonard Richardson <leonardr@segfault.org> | 2012-05-24 10:49:48 -0400 |
commit | 44a7d024d824ccf557f67c81503131f824e3b109 (patch) | |
tree | e3dec9f186700293adf90da5b33ef904cf7f1e73 /doc/source | |
parent | 6ec38efd97e9deb8fb362890f670ba9571f60e10 (diff) |
Fixed the basic failure in [bug=1003974], but not more advanced cases.
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 |