Method to convert a file to UTF-8. This may be needed when you create a file using ExtendScript and RoboHelp 8. For example when using the methods .writeFile() or .content().
The method .convertUTF8() is located in the file utf8.jsxinc.
Usage
file.convertUTF8();
Parameters
| Parameter | Data type | Required | Description |
|---|---|---|---|
| fileencoding | String | The file encoding of the file to convert to UTF-8. Default is iso-8859-1. |
Return values
| Value | Meaning |
|---|---|
| true | Conversion succeeded. |
