• Leszek Swirski's avatar
    [scanner] Add a stream for windows-1252 · 0390795f
    Leszek Swirski authored
    Add a Utf16CharacterStream for windows-1252, which uses a table to
    covert from windows-1252 to the appropriate uc16 character. This fixes
    issues where windows-1252 encoded source was treated like latin-1.
    
    This introduces a new encoding type in the API, so embedders will have
    to opt-in to using this new stream.
    
    Fixed: v8:9315
    Change-Id: I2e847c2d4f1727281f6be24b4743d77bb232a62d
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2729338
    Commit-Queue: Leszek Swirski <leszeks@chromium.org>
    Auto-Submit: Leszek Swirski <leszeks@chromium.org>
    Reviewed-by: 's avatarToon Verwaest <verwaest@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#73134}
    0390795f
Name
Last commit
Last update
..
cppgc Loading commit data...
libplatform Loading commit data...
APIDesign.md Loading commit data...
DEPS Loading commit data...
DIR_METADATA Loading commit data...
OWNERS Loading commit data...
js_protocol-1.2.json Loading commit data...
js_protocol-1.3.json Loading commit data...
js_protocol.pdl Loading commit data...
v8-cppgc.h Loading commit data...
v8-fast-api-calls.h Loading commit data...
v8-inspector-protocol.h Loading commit data...
v8-inspector.h Loading commit data...
v8-internal.h Loading commit data...
v8-metrics.h Loading commit data...
v8-platform.h Loading commit data...
v8-profiler.h Loading commit data...
v8-unwinder-state.h Loading commit data...
v8-util.h Loading commit data...
v8-value-serializer-version.h Loading commit data...
v8-version-string.h Loading commit data...
v8-version.h Loading commit data...
v8-wasm-trap-handler-posix.h Loading commit data...
v8-wasm-trap-handler-win.h Loading commit data...
v8.h Loading commit data...
v8config.h Loading commit data...