Optional
Read-mode text encoding override for fromBuffer.
fromBuffer
When omitted, the encoding is auto-detected from $DWGCODEPAGE. Common aliases such as 'cp949' are normalized to a supported TextDecoder label ('euc-kr'). Ignored when reader is provided.
$DWGCODEPAGE
'cp949'
TextDecoder
'euc-kr'
reader
Write-mode output format (default ASCII).
When set, constructs a read-mode filer over this pair stream.
Read-mode text encoding override for
fromBuffer.When omitted, the encoding is auto-detected from
$DWGCODEPAGE. Common aliases such as'cp949'are normalized to a supportedTextDecoderlabel ('euc-kr'). Ignored whenreaderis provided.