Nп/п : 22 из 100
От : Alexey Matrosov 2:203/910 05 сен 26 12:03:51
К : Eugene Subbotin 05 сен 26 13:22:01
Тема : IBMPC and XLATCHARSETALIAS
----------------------------------------------------------------------------------
@MSGID: 2:203/910 6a9beb95
@PID: GED+W64 1.1.5-b20260830
@CHRS: UTF-8 4
@TZUTC: 0200
@TID: hpt/lnx 1.9 2024-03-02
Hello Eugene,
I have some issue, and not sure how to fix that.
In R20 echoes the bytes are 437/850. If Windows OEM is 866 --> those messages
turn into Cyrillic garbage. No CHRS is fine тАФ I have XLATIMPORT CP437 in the
group. The broken ones are the ones that do say IBMPC.
Tried to use `XLATCHARSETALIAS CP850 IBMPC` globally, but it does nothing here.
On the unicode build `CHRS: IBMPC 2` never looks at the alias table.
The recoder decides it itself: UTF-8 session --> Windows OEM page (GetOEMCP(),
that gives 866 in this case). Aliases are only used if the recoder fails and it
falls back to the old .chs files. IBMPC always "succeeds", so the alias is never
reached.
Ctrl-J to CP437/CP850 works per message.
Could XLATCHARSETALIAS (or a groupable XLATIBMPC) be honoured in
GRecoder::canonical() before GetOEMCP()?
GROUP R20
MEMBER R20*
XLATIMPORT CP437
XLATEXPORT CP850
XLATCHARSETALIAS CP850 IBMPC
ENDGROUP
Right now the alias line is ignored.
Mvh,
Alex.
---
* Origin: Rabarber > Skellefte├е > V├дsterbotten > Sverige (2:203/910)
SEEN-BY: 154/10 203/0 2 124 910 230/0 240/5832 280/464 5003 5555 292/789 301/1
SEEN-BY: 310/31 320/219 341/66 460/58 5001/100 5015/46 5019/40 5020/715 1042
SEEN-BY: 5020/1146 5452 9696 5023/24 5030/1081 5051/44 5075/35 6035/3
@PATH: 203/910 0 280/5555 5020/715