Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Syntax
  • Loading branch information
davidaurelio committed Apr 11, 2016
commit 7bf8627bcf1232aee6234865464bfeb7452a8fda
4 changes: 2 additions & 2 deletions Libraries/Utilities/utf8.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ exports.encode = (string: string): ArrayBuffer => {
const {length} = string;
const bytes = new ByteVector(length);

// each character / char code is assumed to represent an UTF-16 wchar
// with the notable exception of surrogate pairs, each wchar represents the
// each character / char code is assumed to represent an UTF-16 wchar.
// With the notable exception of surrogate pairs, each wchar represents the
// corresponding unicode code point.
// For an explanation of UTF-8 encoding, read [1]
// For an explanation of UTF-16 surrogate pairs, read [2]
Expand Down