Modules
Objects/Functions
SuiteScript 2.0
// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=Document.xmlEncoding for more information.
N/xml Module
Document.xmlEncoding
Property Description:
Part of the XML declaration, the XML encoding of the XML document.
In the following declaration, the xmlEncoding property is UTF-8:
This property is not supported on Internet Explorer or Firefox.
Type:
string (read-only)
Supported Script Types:
All script types
For more information, see SuiteScript 2.0 Script Types.
Module:
N/xml Module
Since:
2015.2
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=Document.xmlEncoding
Example:
// Code Example 1
//Add additional code
//...
var encoding = xmlDocument.xmlEncoding;
//...
//Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_453554931640.html