Modules
Objects/Functions
SuiteScript 2.0
// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=Document.inputEncoding for more information.
N/xml Module
Document.inputEncoding
Property Description:
Encoding used for an XML document at the time the document was parsed.
When parsing an XML document with the following declaration, the inputEncoding property is UTF-8:
The value of this property is browser-specific.
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.inputEncoding
Example:
// Code Example 1
//Add additional code
//...
var encoding = xmlDocument.inputEncoding;
//...
//Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_452187744140.html