FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Comparing nodejs:master...polazarus:master · nodejs/node-v0.x-archive · GitHub

This repository was archived by the owner on Apr 22, 2023. It is now read-only.
/ node-v0.x-archive Public archive
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nodejs/node-v0.x-archive
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
Could not load branches
Nothing to show
{{ refName }}
...
head repository: polazarus/node
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Could not load branches
Nothing to show
{{ refName }}
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 5 files changed
  • 1 contributor

Commits on Nov 30, 2011

  1. Better Unicode support for V8

    V8's internal representation of string is in UCS-2, that is, V8 considers
    16-bit code units (from 0x0000 to 0xFFFF). But, Unicode gives sense to
    codepoints upto U+10FFFF. UTF-16 proposes to code the extra characters
    (>U+FFFF) as a pair of two 16-bit code units, aka a surrogate pair. V8
    does not care for it but do relatively well with it, up to the point you
    need to actually encode or decode text in the most used Unicode encoding,
    UTF-8. V8 and consequently Node.js, UTF-8 codec now handles those extra
    Unicode codepoints.
    
    This commit modifies three functions of v8: String::WriteUtf8 (api.cc),
    String::Utf8Length (objects.cc), and Heap::AllocateStringFromUtf8Slow
    (heap.cc). It also adds some utility functions to v8 (in unicode.h and
    unicode-inl.h) about surrogate pairs.
    polazarus committed Nov 30, 2011
    Configuration menu
    Copy the full SHA
    7543ab9 View commit details
    Browse the repository at this point in the history
Loading

Back | FazBrowse Home | New Git URL