/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.35/ |
H A D | changelogs-arkts.md | 3 ## cl.arkts.1 util.TextDecoder模块ignoreBOM功能行为变更 11 util.TextDecoder模块ignoreBOM参数未使能,无法对存在BOM标记的数据进行正常解析。 15 此版本兼容之前的应用开发,不需要适配,后续可调用新增替代接口支持ignoreBOM的功能。 27 为确保版本之间的兼容性,对util.TextDecoder模块ignoreBOM使能的相关接口进行废弃,并新增对应方法。 34 新增接口与废弃接口功能保持一致,主要是对于接受的数据进行解码,新增了ignoreBOM功能。 41 ignoreBOM : true
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.35/ |
H A D | changelogs-arkts.md | 3 ## cl.arkts.1 Behavior of the ignoreBOM Feature of the util.TextDecoder Module Changed 11 The ignoreBOM feature of the **util.TextDecoder** module is not enabled. As a result, data with BOM… 15 …versions and no adaptation is required. The new API can be called to support the ignoreBOM feature. 27 To ensure version compatibility, the API related to the ignoreBOM feature of the **util.TextDecoder… 34 …ility as the deprecated one. It is used to decode received data and supports the ignoreBOM feature. 41 ignoreBOM : true
|
/ohos5.0/commonlibrary/ets_utils/js_util_module/util/test/ |
H A D | test_util.cpp | 1036 int ignoreBOM = 0; variable 1058 int ignoreBOM = 1; variable 1080 int ignoreBOM = 1; variable 1102 int ignoreBOM = 1; variable 1124 int ignoreBOM = 1; variable 1146 int ignoreBOM = 1; variable 1188 int ignoreBOM = 0; variable 1252 int ignoreBOM = 0; variable 1320 int ignoreBOM = 0; variable 1362 int ignoreBOM = 1; variable [all …]
|
/ohos5.0/docs/zh-cn/application-dev/faqs/ |
H A D | faqs-file-management.md | 59 let textDecoder = util.TextDecoder.create('utf-8', { ignoreBOM: true })
|
H A D | faqs-arkui-arkts.md | 567 let textDecoder = util.TextDecoder.create("utf-8",{ignoreBOM: true})
|
/ohos5.0/commonlibrary/ets_utils/js_util_module/util/src/ |
H A D | util_js.ts | 683 new(encoding?: string, options?: { fatal?: boolean; ignoreBOM?: boolean }): TextDecoder; 689 constructor(encoding?: string, options?: { fatal?: boolean; ignoreBOM?: boolean }) { 699 …static create(encoding?: string, options?: { fatal?: boolean; ignoreBOM?: boolean }): TextDecoder { 757 get ignoreBOM(): boolean { 758 return this.textDecoder.ignoreBOM;
|
/ohos5.0/commonlibrary/ets_utils/ |
H A D | README.en.md | 466 │ └── ignoreBOM # ignoreBOM attribute 580 …ignoreBOM? : boolean}) | A constructor used to create a **TextDecoder** object. **encoding** indic… 583 | readonly ignoreBOM : boolean | Obtains the setting of whether to ignore the BOM flag.| 719 var textDecoder = new util.textDecoder("utf-16be", {fatal : true, ignoreBOM : false}); 724 var textDecoder = new util.textDecoder("utf-16be", {fatal : true, ignoreBOM : false}); 730 var textDecoder = new util.textDecoder("utf-16be", {fatal : true, ignoreBOM : false}); 733 7. readonly ignoreBOM() 736 var textDecoder = new util.textDecoder("utf-16be", {fatal : true, ignoreBOM : false}); 737 var ignoreBom = textDecoder.ignoreBOM(); 742 var textDecoder = new util.textDecoder("utf-16be", {fatal : true, ignoreBOM : false}); [all …]
|
H A D | README.md | 1303 │ └── ignoreBOM # ignoreBOM属性 1649 …, options? : {fatal? : boolean, ignoreBOM? : boolean}) | 构造函数,第一个参数encoding表示解码的格式。第二个参数表示一些属性。属性中… 1652 | readonly ignoreBOM : boolean | 获取是否忽略bom标志的设置。 | 1995 var textDecoder = new util.textDecoder("utf-16be", {fatal : true, ignoreBOM : false}); 2000 var textDecoder = new util.textDecoder("utf-16be", {fatal : true, ignoreBOM : false}); 2006 var textDecoder = new util.textDecoder("utf-16be", {fatal : true, ignoreBOM : false}); 2009 7.readonly ignoreBOM() 2012 var textDecoder = new util.textDecoder("utf-16be", {fatal : true, ignoreBOM : false}); 2013 var ignoreBom = textDecoder.ignoreBOM(); 2018 var textDecoder = new util.textDecoder("utf-16be", {fatal : true, ignoreBOM : false}); [all …]
|
/ohos5.0/docs/zh-cn/application-dev/security/AssetStoreKit/ |
H A D | asset-js-query.md | 63 let textDecoder = util.TextDecoder.create("utf-8", { ignoreBOM: true });
|
H A D | asset-js-query-auth.md | 97 let textDecoder = util.TextDecoder.create("utf-8", { ignoreBOM: true });
|
/ohos5.0/docs/en/application-dev/faqs/ |
H A D | faqs-file-management.md | 59 let textDecoder = util.TextDecoder.create('utf-8', { ignoreBOM: true })
|
H A D | faqs-arkui-arkts.md | 563 let textDecoder = util.TextDecoder.create("utf-8",{ignoreBOM: true})
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkts/ |
H A D | js-apis-util.md | 530 解码相关选项参数,存在两个属性fatal和ignoreBOM。 539 | ignoreBOM | boolean | 否 | 是否忽略BOM标记,默认值是false。 | 857 | options | [TextDecoderOptions](#textdecoderoptions11) | 否 | 解码相关选项参数,存在两个属性fatal和ignoreBOM。| 872 ignoreBOM : true 916 ignoreBOM : true 968 ignoreBOM : true 989 constructor(encoding?: string, options?: { fatal?: boolean; ignoreBOM?: boolean }) 1004 | options | object | 否 | 解码相关选项参数,存在两个属性fatal和ignoreBOM。 | 1011 | ignoreBOM | boolean | 否 | 是否忽略BOM标记,默认值是false。 | 1016 let textDecoder = new util.TextDecoder("utf-8",{ignoreBOM: true}); [all …]
|
/ohos5.0/docs/zh-cn/application-dev/quick-start/ |
H A D | arkts-mvvm-V2.md | 595 let textDecoderOptions: util.TextDecoderOptions = { ignoreBOM : true }; 750 let textDecoderOptions: util.TextDecoderOptions = { ignoreBOM : true }; 927 let textDecoderOptions: util.TextDecoderOptions = { ignoreBOM : true };
|
/ohos5.0/docs/en/application-dev/security/AssetStoreKit/ |
H A D | asset-js-query.md | 63 let textDecoder = util.TextDecoder.create("utf-8", { ignoreBOM: true });
|
H A D | asset-js-query-auth.md | 97 let textDecoder = util.TextDecoder.create("utf-8", { ignoreBOM: true });
|
/ohos5.0/docs/en/application-dev/reference/apis-arkts/ |
H A D | js-apis-util.md | 530 Describes decoding-related options, which include **fatal** and **ignoreBOM**. 539 | ignoreBOM | boolean | No | Whether to ignore the BOM. The default value is **false**. | 857 …textdecoderoptions11) | No | Decoding-related options, which include **fatal** and **ignoreBOM**.| 872 ignoreBOM : true 916 ignoreBOM : true 968 ignoreBOM : true 989 constructor(encoding?: string, options?: { fatal?: boolean; ignoreBOM?: boolean }) 1004 | options | object | No| Decoding-related options, which include **fatal** and **ignoreBOM**.| 1011 | ignoreBOM | boolean | No| Whether to ignore the BOM. The default value is **false**.| 1016 let textDecoder = new util.TextDecoder("utf-8",{ignoreBOM: true}); [all …]
|
/ohos5.0/docs/en/application-dev/quick-start/ |
H A D | arkts-mvvm-V2.md | 595 let textDecoderOptions: util.TextDecoderOptions = { ignoreBOM : true }; 750 let textDecoderOptions: util.TextDecoderOptions = { ignoreBOM : true }; 927 let textDecoderOptions: util.TextDecoderOptions = { ignoreBOM : true };
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v3.2-Release/ |
H A D | js-apidiff-compiler-and-runtime.md | 278 …力有变化|类名:TextDecoder;<br>方法or属性:readonly ignoreBOM = false;<br>旧版本信息:|类名:TextDecoder;<br>方法or属性:rea… 284 …an; ignoreBOM?: boolean }): TextDecoder;<br>旧版本信息:|类名:TextDecoder;<br>方法or属性:static create(encodin…
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-Release/ |
H A D | js-apidiff-compiler-and-runtime.md | 180 … encoding?: string,<br><br> options?: { fatal?: boolean; ignoreBOM?: boolean }<br><… 239 …ignoreBOM?: boolean },<br><br> );<br>旧版本信息:|类名:TextDecoder;<br>方法or属性:constructor(<br><br> …
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.0-LTS/ |
H A D | js-apidiff-v3.0-lts.md | 31 |语言编译器运行时-Util|readonly ignoreBOM = false;|新增|-|
|
/ohos5.0/docs/en/release-notes/api-diff/v3.2-Release/ |
H A D | js-apidiff-compiler-and-runtime.md | 180 … encoding?: string,<br><br> options?: { fatal?: boolean; ignoreBOM?: boolean }<br><… 239 …ignoreBOM?: boolean },<br><br> );<br>Old version: |Class name: TextDecoder;<br>Method or at…
|
/ohos5.0/docs/en/release-notes/api-diff/v4.0-Release-vs-v3.2-Release/ |
H A D | js-apidiff-compiler-and-runtime.md | 278 … name: readonly ignoreBOM = false;<br>Old version information: |Class name: TextDecoder;<br>Method… 284 …ignoreBOM?: boolean }): TextDecoder;<br>Old version information: |Class name: TextDecoder;<br>Meth…
|
/ohos5.0/docs/en/release-notes/api-diff/v3.0-LTS/ |
H A D | js-apidiff-v3.0-lts.md | 31 |Multi - language Runtime - Util|readonly ignoreBOM = false;|Added|-|
|