UTF-8-------------------- < Пред. | След. > -- < @ > -- < Сообщ. > -- < Эхи > --
 Nп/п : 6 из 100
 От   : Rob Swindell                        1:103/705         04 мар 23 13:11:48
 К    : Michiel van der Vlist                                 04 мар 23 00:27:07
 Тема : codepage
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 329.fidoutf8@1:103/705 2868eb5d
@REPLY: 2:280/5555 640319a0
@TZUTC: -0800
@PID: Synchronet 3.20a-Linux master/5d1d586fd Mar 3
2023 GCC 12.2.0
@TID: SBBSecho 3.20-Linux master/067c40063 Mar 3
2023 GCC 12.2.0
@COLS: 80
@BBSID: VERT
@CHRS: CP437 2
@NOTE: FSEditor.js v1.104
  Re: codepage
  By: Michiel van der Vlist to Rob Swindell on Sat Mar 04 2023 11:00 am

 > Hello Rob,
 >
 > On Thursday March 02 2023 17:02, you wrote to me:
 >
 >  >> All three of your messages have non-ASCCI characters. They all have
 >  >> the degree character `°` in the sign off, or whatver you call it.
 >  >> In the last message it is also present in the message test before
 >  >> the "--" (two dashes).
 >
 >  RS> Ah, true. But in the message I posted using a UTF-8 terminal, that
 >  RS> would have been a UTF-8 encoded "degree" symbol instead of a
 >  RS> CP437-encoded one (as would have been in the other messages, including
 >  RS> this one).
 >
 > The message I am respondig to, is indeed encoded in CP437.
 >
 > So let me get this straight:
 >
 > 1) If the message that is responded to, is encoded in CP437, Synchronet
 > answers in CP437. Yes?

 No. The message response itself determines the encoding and only
CP437 terminals can faithfully author CP437 encoded messages. If a UTF-8
terminal user responds to a CP437 encoded message (with non-ASCII chars), the
original message text is converted to UTF-8 before it is quoted and the
response will be UTF-8. Unless there are no non-ASCII chars in the response,
in which case the response charset witll just be ASCII.

 > So what happens if the response does not fit into CP437?

I think this question is making false assumptions.

 > What happens if the original message is encoded in a one byte encoding other
 > than CP437?

 The only encodings Synchronet supports for message text are ASCII,
CP437, and UTF-8.

 > 2) If the message that is responded to is encoded in UTF-8, Synchronet
 > answers in UTF-8 if the terminal theis used supports UTF-8. Yes?

Yes.

 > So what happens in that case if the terminal does not support UTF-8?

 The message text would be converted to CP437 before being quoted
and the response would be in CP437.

 >  >>  RS> Norco, CA WX: 42.0°F, 79.0% humidity, 0 mph NE wind, 0.15
 >  >> inches RS> rain/24hrs
 >
 > My software translates the CP437 encoded degree sign into UTF-8 as you can
 > see.

Yup, most software does the same, when appropriate.
-- 
                                            digital man (rob)

Sling Blade quote #18:
Karl Childers: Some folks call it Hell, I call it Hades.
Norco, CA WX: 55.8°F, 64.0% humidity, 5 mph SE wind, 0.01 inches rain/24hrs
--- SBBSecho 3.20-Linux
 * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
SEEN-BY: 10/0 1 50/109 103/705 106/201 114/705
123/120 124/5016 153/757 7715
SEEN-BY: 154/10 203/0 218/0 1 700 840 860 220/70
221/0 1 6 242 360 226/17 30
SEEN-BY: 227/114 229/111 112 113 307 317 426 428
470 700 230/0 240/1120 5832
SEEN-BY: 250/5 8 267/800 280/464 5003 5555 292/854
8125 298/25 301/1 305/3
SEEN-BY: 310/31 317/3 320/219 335/364 341/66 234
423/81 120 460/58 467/888
SEEN-BY: 712/848 770/1 100 340 772/210 220 230
4500/1 5001/100 5005/49
SEEN-BY: 5015/46 5020/715 736 830 848 1042 4441
12000 5030/49 1081 1474
SEEN-BY: 5054/8 5058/104 5064/56
@PATH: 103/705 218/700 229/426 317/3 770/1 280/464
221/1 6 5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх