r1:
.flags      = strings.flagCHARTBL ;or strings.flagUNICODE
.charTbl    : rb 256
.charTblSrc : ub '../inc/string/emul_xxxx tables/emul_xxxx.win1251',0
ReadFileA(.charTbl .charTblSrc 0 256)

.this       : ub 'RAR'                                           ;&& .this.:
.lthis      = $ - .this
.here       : ub 'rar rar rar',13,10,13,10,'ps: hello from 1byte_mode' ;&& .here.:
.lhere      = $ - .here
              rb 1024 ;reserve some extra space

.start      = 1
.stop       = 8

.new        : ub '"7zip by Igor Pavlov"'                         ;&& .new.:
.lnew       = $ - .new




.lhere == replace(.flags .charTbl           \
                  .this .lthis .here .lhere \
                  .start .stop              \
                  .new .lnew                )
ub[.here + .lhere] = 0 ;zero-terminate as both strings and byte sets possible
msg .here
