Home
last modified time | relevance | path

Searched refs:utf8 (Results 1 – 21 of 21) sorted by relevance

/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkts/
H A Djs-apis-stream.md68 | encoding | string | 否 | 字符编码类型。默认值是'utf8',当前版本支持'utf8'、'gb18030'、'gbk'以及'gb2312'。|
103 writableStream.write('test', 'utf8');
121 | encoding | string | 否 | 字符编码类型。默认值是'utf8',当前版本支持'utf8'、'gb18030'、'gbk'以及'gb2312'。|
158 writableStream.write('test', 'utf8');
178 | encoding | string | 否 | 设置默认字符编码。默认值是'utf8',当前版本支持'utf8'、'gb18030'、'gbk'以及'gb2312'。|
731 | encoding | string | 否 | 需要设置的字符编码。默认值是'utf8',当前版本支持'utf8'、'gb18030'、'gbk'以及'gb2312'。 |
1011 readable.setEncoding('utf8');
1117 | encoding | string | 否 | 数据的编码格式。默认值是'utf8',当前版本支持'utf8'、'gb18030'、'gbk'以及'gb2312'。|
1203 | encoding | string | 否 | 字符编码类型。默认值是'utf8',当前版本支持'utf8'、'gb18030'、'gbk'以及'gb2312'。|
1260 | encoding | string | 否 | 字符编码类型。默认值是'utf8',当前版本支持'utf8'、'gb18030'、'gbk'以及'gb2312'。|
[all …]
H A Djs-apis-buffer.md28 | 'utf8' | 表示utf8格式。 |
29 | 'utf-8' | 表示utf8格式。 |
55 | encoding | [BufferEncoding](#bufferencoding) | 否 | 编码格式(当`fill`为string时,才有意义)。 默认值: 'utf8'。 |
176 | encoding | [BufferEncoding](#bufferencoding) | 否 | 编码格式。 默认值: 'utf8'。 |
457 let buf = buffer.from(new String('this is a test'), 'utf8', 14);
475 | encoding | [BufferEncoding](#bufferencoding) | 否 | 编码格式。 默认值: 'utf8'。 |
912 | encoding | [BufferEncoding](#bufferencoding) | 否 | 字符编码格式。 默认值: 'utf8'。 |
956 | encoding | [BufferEncoding](#bufferencoding) | 否 | 字符编码格式。 默认值: 'utf8'。 |
1036 | encoding | [BufferEncoding](#bufferencoding) | 否 | 字符编码格式。 默认值: 'utf8'。 |
2279 | encoding | string | 否 | 字符编码格式。 默认值: 'utf8'。 |
[all …]
/ohos5.0/docs/en/application-dev/reference/apis-arkts/
H A Djs-apis-stream.md103 writableStream.write('test', 'utf8');
164 writableStream.write('test', 'utf8');
283 writableStream.write('data1', 'utf8');
284 writableStream.write('data2', 'utf8');
473 writableStream.write('data', 'utf8');
520 writableStream.write('data1', 'utf8');
521 writableStream.write('data2', 'utf8');
1017 readable.setEncoding('utf8');
1474 duplexStream.write('data', 'utf8');
1525 duplexStream.write('data1', 'utf8');
[all …]
H A Djs-apis-buffer.md28 | 'utf8' | UTF-8 format.|
55 …ng) | No| Encoding format (valid only when **fill** is a string). The default value is **'utf8'**.|
176 …erEncoding](#bufferencoding) | No| Encoding format of the string. The default value is **'utf8'**.|
458 let buf = buffer.from(new String('this is a test'), 'utf8', 14);
476 …erEncoding](#bufferencoding) | No| Encoding format of the string. The default value is **'utf8'**.|
869 …g) | No| Encoding format (valid only when **value** is a string). The default value is **'utf8'**.|
913 …g) | No| Encoding format (valid only when **value** is a string). The default value is **'utf8'**.|
957 …g) | No| Encoding format (valid only when **value** is a string). The default value is **'utf8'**.|
1037 …g) | No| Encoding format (valid only when **value** is a string). The default value is **'utf8'**.|
2280 …ng | No| Encoding format (valid only when **value** is a string). The default value is **'utf8'**.|
[all …]
/ohos5.0/commonlibrary/c_utils/base/test/fuzztest/parcel_fuzzer/
H A Dparcel_fuzzer.cpp240 string utf8 = dataProvider->ConsumeRandomLengthString(MAX_STRING_LENGTH); in __anon90ce765f0902() local
241 u16string utf16 = Str8ToStr16(utf8); in __anon90ce765f0902()
247 string utf8 = dataProvider->ConsumeRandomLengthString(MAX_STRING_LENGTH); in __anon90ce765f0a02() local
248 u16string utf16 = Str8ToStr16(utf8); in __anon90ce765f0a02()
255 string utf8 = dataProvider->ConsumeRandomLengthString(MAX_STRING_LENGTH); in __anon90ce765f0b02() local
256 char* value = utf8.data(); in __anon90ce765f0b02()
257 parcel.WriteString8WithLength(value, utf8.length()); in __anon90ce765f0b02()
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/utils/
H A Dutf.cpp151 size_t EncodeUTF8(uint32_t codePoint, uint8_t* utf8, size_t len, size_t index) in EncodeUTF8() argument
159 utf8[index + j] = cont; in EncodeUTF8()
162 utf8[index] = codePoint | FIRST_BYTE_MARK[size]; in EncodeUTF8()
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/text/renderservice/
H A Dmain.cpp87 const std::string utf8 = "hello world!\n"; in DoDraw() local
89 const std::u16string u16Text = TextToUtf16(utf8); in DoDraw()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/request/uri/
H A Dpercent_encoding.rs233 while let Some(utf8) = origin.next_u8() { in parse_fragment()
234 self.normalized.percent_encoding_push(utf8, FRAGMENT); in parse_fragment()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/include/
H A Dfile_path.h49 static FilePath FromUTF8Unsafe(const std::string &utf8);
/ohos5.0/docs/zh-cn/application-dev/napi/
H A Duse-napi-about-string.md22 | napi_get_value_string_utf8 | 需要将ArkTS的字符类型的数据转换为utf8编码的字符时使用这个函数。 |
35 将ArkTS的字符类型的数据转换为utf8编码的字符。
H A Duse-jsvm-about-string.md33 OH_JSVM_GetValueStringUtf8接口可以将JavaScript的字符类型的数据转换为utf8编码的字符。
H A Djsvm-data-types-interfaces.md1150 创建utf8类型的String,并获取C字符串。
/ohos5.0/docs/zh-cn/application-dev/reference/native-lib/
H A Dmusl.md80 |utf8 | | 支持 |
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/src/
H A Dfile_path.cpp82 FilePath FilePath::FromUTF8Unsafe(const std::string &utf8) in FromUTF8Unsafe() argument
84 return FilePath(utf8); in FromUTF8Unsafe()
/ohos5.0/docs/en/application-dev/reference/native-lib/
H A Dmusl.md79 |utf8 | | Yes |
/ohos5.0/docs/zh-cn/release-notes/
H A DOpenHarmony-v3.0.1-LTS.md145 | I4DMFV | 修复utf16到utf8的转换 |
/ohos5.0/docs/zh-cn/application-dev/arkts-utils/
H A Dsource-obfuscation.md457 const jsonData = fs.readFileSync('./test.json', 'utf8');
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v3.2-Release/
H A Djs-apidiff-compiler-and-runtime.md57utf8'<br> \| 'utf-8'<br> \| 'utf16le'<br> \| 'ucs2'<br> \| 'ucs-2'<br> \| 'base64'<…
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-Release/
H A Djs-apidiff-compiler-and-runtime.md67 |新增|NA|类名:buffer;<br>方法or属性:type BufferEncoding = 'ascii' \| 'utf8' \| 'utf-8' \| 'utf16le' \| 'ucs…
/ohos5.0/docs/en/release-notes/api-diff/v4.0-Release-vs-v3.2-Release/
H A Djs-apidiff-compiler-and-runtime.md57utf8'<br> \| 'utf-8'<br> \| 'utf16le'<br> \| 'ucs2'<br> \| 'ucs-2'<br> \| 'base64'<…
/ohos5.0/docs/en/release-notes/api-diff/v3.2-Release/
H A Djs-apidiff-compiler-and-runtime.md67 |Added|NA|Class name: buffer;<br>Method or attribute name: type BufferEncoding = 'ascii' \| 'utf8' …