Skip to content

Commit 226b524

Browse files
authored
Update README.md
1 parent af61922 commit 226b524

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ The list of supported encodings is described in the paragraph `Supported Languag
287287
### Examples
288288
```javascript
289289
// Acquire the COM object. It is recommended to acquire it only once and reuse it for performance reasons.
290-
var uCharDet = createComObject("DOpusScriptingExtensions.UCharDet");
290+
var uCharDet = new ActiveXObject("DOpusScriptingExtensions.UCharDet");
291291

292292
// Detect the encoding of a text file.
293293
// By default, it reads up to 1kb of the file to detect the encoding.

0 commit comments

Comments
 (0)