Generate BIG5 character set all characters

xiaoxiao2021-03-06  102

PROGRAM GENBIG5CODE;

...

{$ Apptype console}

Uses sysutils; var i, j:

Byte

Mbig5file: TextFile; Begin Assignfile (Mbig5file,

'

C: Big5code.bin

'

ReWrite (mbig5file);

//

BIG5 character set range: High level $ A1 ~ $ Fe, the low is divided into two paragraphs: $ 40 ~ $ 7E, $ A1 ~ $ FE

for

i:

=

$ A1 to $ f

DO

Begin

for

J:

=

$

40

To $ 7e

DO

Write (Mbig5File, CHR (i), chr (j));

for

J:

=

$ A1 to $ f

DO

Write (Mbig5File, CHR (I), CHR (J)); End; Close (Mbig5File); END.

转载请注明原文地址:https://www.9cbs.com/read-123613.html

New Post(0)