# HG changeset patch # User Yaroslav Zhuravlev # Date 1607084773 0 # Node ID 7da360f50017e8650c00673419d7eef48268c6eb # Parent e203e1106fb235d2eac8133a4914e88a471c5ea1 Unified spelling of "utf-8" in njs. diff --git a/xml/en/docs/njs/reference.xml b/xml/en/docs/njs/reference.xml --- a/xml/en/docs/njs/reference.xml +++ b/xml/en/docs/njs/reference.xml @@ -9,7 +9,7 @@
+ rev="59">
@@ -1017,11 +1017,11 @@ The value can be a ArrayBuffer. If the value is a string, the encoding parameter is its encoding, can be -utf-8, +utf8, hex, base64, base64url; -by default is utf-8. +by default is utf8. Buffer.compare(buffer1, @@ -1096,11 +1096,11 @@ Creates a new Buffer with a strin The encoding parameter identifies the character encoding to be used when converting a string into bytes. The encoding can be -utf-8, +utf8, hex, base64, base64url; -by default is utf-8. +by default is utf8. Buffer.isBuffer(object) @@ -1228,7 +1228,7 @@ Returns an integer which is the index of if Buffer does not contain value. The value can be a string with specified encoding -(by default utf-8), +(by default utf8), Buffer, Unit8Array, or a number between 0 and 255. @@ -1413,7 +1413,7 @@ implicitly calls this function when stri Decodes buf to a string according to the specified character encoding. -which can be utf-8, +which can be utf8, hex, base64, base64url. @@ -1434,7 +1434,7 @@ If Buffer did not contain enough space t only part of string will be written, however, partially encoded characters will not be written. The encoding can be -utf-8, +utf8, hex, base64, base64url. diff --git a/xml/ru/docs/njs/reference.xml b/xml/ru/docs/njs/reference.xml --- a/xml/ru/docs/njs/reference.xml +++ b/xml/ru/docs/njs/reference.xml @@ -9,7 +9,7 @@
+ rev="59">