diff options
| author | tbarzic@chromium.org <tbarzic@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-15 20:34:37 +0000 |
|---|---|---|
| committer | tbarzic@chromium.org <tbarzic@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-15 20:34:37 +0000 |
| commit | 65bbd9d2a88029d0700c64283937ae09d3090ade (patch) | |
| tree | b0cdc8af1d28d87ce12aaece06318e4f576d11e5 /remoting/codec/scoped_vpx_codec.cc | |
| parent | 27b57935d1aff03999cbbb89ca7e5a912c453373 (diff) | |
| download | chromium_src-65bbd9d2a88029d0700c64283937ae09d3090ade.zip chromium_src-65bbd9d2a88029d0700c64283937ae09d3090ade.tar.gz chromium_src-65bbd9d2a88029d0700c64283937ae09d3090ade.tar.bz2 | |
Improve process output watcher's handling of multi-byte UTF8 characters
Speciffically, handle case when a non ASCII UTF8 character is read
partially from the process output. Instead of reporting read character
bytes imediatelly, cache them until the rest of the character is read
from the process output.
BUG=278340
TEST=in crosh (see comment #1 in the bug):
$python
>>> print(u"\u20ac" * 10000)
Verify a series of EURO signs is displayed (without "unknown" characters)
Review URL: https://codereview.chromium.org/261743002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270799 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/codec/scoped_vpx_codec.cc')
0 files changed, 0 insertions, 0 deletions
