Добро пожаловать, Гость. Пожалуйста авторизуйтесь здесь.
FGHIGate на GaNJa NeTWoRK ST@Ti0N - Просмотр сообщения в эхоконференции UTF-8
Введите FGHI ссылку:


Присутствуют сообщения из эхоконференции UTF-8 с датами от 19 Apr 14 00:41:48 до 01 Apr 24 00:03:00, всего сообщений: 1367
Ответить на сообщение К списку сообщений Предыдущее сообщение Следующее сообщение
= Сообщение: 147 из 1367 ============================================= UTF-8 =
От   : Michiel van der Vlist            2:280/5555         03 Jan 16 22:32:01
Кому : Tommi Koivula                                       03 Jan 16 22:32:01
Тема : Golded and UTF-8
FGHI : area://UTF-8?msgid=2:280/5555+56899352
На   : area://UTF-8?msgid=2:280/5555+56895bed
= Кодировка сообщения определена как: CP850 ==================================
Ответ: area://UTF-8?msgid=2:280/5555+56899810
==============================================================================
Hello Tommi,

Sunday January 03 2016 18:34, I wrote to you:

TK>> Would you mind sharing your UTF-8 setup for your GoldED/Windows?

MV> I don't mind. I will do it later. Right now I am cooking...

I have more than one setup for Golded. The first one uses the internal editor and it can only deal with characters covered by CP850, that being the default character set that the OS assumes at startup. This is a well know limitation of the Windows version of Golded. No matter what you do, it ignores the active code page and assumes the default codepage. In my case CP850.

Golded is called in a batch file. Here is the relevant part of ge.bat:


=== Cut ===
cls
cd. >\fido\sema\golded.run
gedwin %2 %3 %4 %5
del \fido\sema\golded.run

=== Cut ===


Then there is golded.cfg. The relevant part is the part that declares the translation tables and the parts that define which ones to use for which areas.


XLATPATH d:\im\golded\
XLATCHARSET CP850 LATIN-1 850_ISO.CHS
XLATCHARSET CP850 LATIN-9 850_LT9.chs
XLATCHARSET CP850 UTF-8 850_UTF8.CHS
XLATCHARSET LATIN-1 CP850 ISO_850.CHS
XLATCHARSET LATIN-9 CP850 LT9_850.CHS
XLATCHARSET UTF-8 CP850 UTF8_850.CHS
XLATCHARSET CP437 CP850 437_850.CHS
XLATCHARSET CP1252 CP850 1252_850.CHS
XLATCHARSET DUTCH CP850 DUT_850.CHS
XLATCHARSET GERMAN CP850 GER_850.CHS
XLATCHARSET NORWEGIAN CP850 NOR_850.CHS
XLATCHARSET SWEDISH CP850 SWE_850.CHS
XLATCHARSET CP866 CP850 866_850.CHS
XLATCHARSET CP866 CP866 IBM_IBM.CHS
XLATCHARSET CP850 CP850 IBM_IBM.CHS
XlatCharSetAlias LATIN-1 LATIN
XlatCharSetAlias LATIN-1 ISO-8859-1
XlatCharSetAlias CP437 IBMPC
XlatCharSetAlias CP1252 WINDOWS
XlatCharSetAlias NORWEGIAN ISO664-NO
XlatCharSetAlias DUTCH ISO664-NL
XlatCharSetalias SWEDISH ISO664-SE
XlatCharSetAlias SWEDISH ISO-60
XlatCharSetAlias CP866 +7_FIDO
XlatCharSetAlias +7_FIDO CP866


This will make Godled read the CHRS kludge in the messaga and automaticall select the proper tarnslation table.

For outgoing the poper translation tabel is selected per area in the group declaration:

GROUP UTF8
        member TEST.5555
        member FTSC GOLDED.500
        member UTF-8
        xlatexport UTF-8
ENDGROUP

And then of course there are the translation tables/

For outgoing:

Please not the line with two parameters for the level declaration:

;
2 4               ; level number

This serves to trick golded in displaying "4" as the level numbe in the CHRS kludge instad of the "2" which actuallyis the level of the translation table.


=== Cut ===
; file 850_utf8.chs
;
; This file is a charset conversion module in text form.
;
; This module Converts IBM CP850 characters to UTF-8 characters.
;
; By Michiel van der Vlist, 2:280/5555
;
; This is a modified version that translates the currency symbol ¤ (Alt 207)
; (hex CF) into the Euro sign.
;
; Format: ID, version, level,
;         from charset, to charset,
;         128 entries: first, second and optional third byte
;         "END"
; Lines beginning with a ";" or a ";" after the entries are comments
;
;
; cedilla = ,   ; dieresis = ..       ; acute = '
; grave = `     ; circumflex = ^      ; ring = o
; tilde = ~     ; caron = v
; All of these are above the character, apart from the cedilla which is below.
;
; \ is the escape character: \0 means decimal zero,
; \dnnn where nnn is a decimal number is the ordinal value of the character
; \xnn where nn is a hexadecimal number
; e.g.: \d32 is the ASCII space character
; Two \\ is the character "\" itself.
;
4                 ; ID number
1                 ; version number
;
2 4               ; level number
;
CP850             ; from set
UTF-8             ; to set
;                 ; dec hx description
;
\xC3 \x87         ; 128 80 latin capital letter c with cedilla
\xC3 \xBC         ; 129 81 latin small letter u with diaeresis
\xC3 \xA9         ; 130 82 latin small letter e with acute
\xC3 \xA2         ; 131 83 latin small letter a with circumflex
\xC3 \xA4         ; 132 84 latin small letter a with diaeresis
\xC3 \xA0         ; 133 85 latin small letter a with grave
\xC3 \xA5         ; 134 86 latin small letter a with ring above
\xC3 \xA7         ; 135 87 latin small letter c with cedilla
\xC3 \xAA         ; 136 88 latin small letter e with circumflex
\xC3 \xAB         ; 137 89 latin small letter e with diaeresis
\xC3 \xA8         ; 138 8A latin small letter e with grave
\xC3 \xAF         ; 139 8B latin small letter i with diaeresis
\xC3 \xAE         ; 140 8C latin small letter i with circumflex
\xC3 \xAC         ; 141 8D latin small letter i with grave
\xC3 \x84         ; 142 8E latin capital letter a with diaeresis
\xC3 \x85         ; 143 8F latin capital letter a with ring above
\xC3 \x89         ; 144 90 latin capital letter e with acute
\xC3 \xA6         ; 145 91 latin small letter ae
\xC3 \x86         ; 146 92 latin capital letter ae
\xC3 \xB4         ; 147 93 latin small letter o with circumflex
\xC3 \xB6         ; 148 94 latin small letter o with diaeresis
\xC3 \xB2         ; 149 95 latin small letter o with grave
\xC3 \xBB         ; 150 96 latin small letter u with circumflex
\xC3 \xB9         ; 151 97 latin small letter u with grave
\xC3 \xBF         ; 152 98 latin small letter y with diaeresis
\xC3 \x96         ; 153 99 latin capital letter o with diaeresis
\xC3 \x9C         ; 154 9A latin capital letter u with diaeresis
\xC3 \xB8         ; 155 9B latin small letter o with stroke
\xC2 \xA3         ; 156 9C pound sign
\xC3 \x98         ; 157 9D latin capital letter o with stroke
\xC3 \x97         ; 158 9E multiplication sign
\xC6 \x92         ; 159 9F dutch guilder sign (ibm437 159) (f with hook)
\xC3 \xA1         ; 160 A0 latin small letter a with acute
\xC3 \xAD         ; 161 A1 latin small letter i with acute
\xC3 \xB3         ; 162 A2 latin small letter o with acute
\xC3 \xBA         ; 163 A3 latin small letter u with acute
\xC3 \xB1         ; 164 A4 latin small letter n with tilde
\xC3 \x91         ; 165 A5 latin capital letter n with tilde
\xC2 \xB8         ; 166 A6 feminine ordinal indicator
\xC2 \xBA         ; 167 A7 masculine ordinal indicator
\xC2 \xBF         ; 168 A8 inverted question mark
\xC2 \xAE         ; 169 A9 registered sign
\xC2 \xAC         ; 170 AA not sign
\xC2 \xBD         ; 171 AB vulgar fraction one half
\xC2 \xBC         ; 172 AC vulgar fraction one quarter
\xC2 \xA1         ; 173 AD inverted exclamation mark
\xC2 \xAB         ; 174 AE left-pointing double angle quotation mark
\xC2 \xBB         ; 175 AF right-pointing double angle quotation mark
\xE2 \x96 \x91    ; 176 B0 light shade
\xE2 \x96 \x92    ; 177 B1 medium shade
\xE2 \x96 \x93    ; 178 B2 dark shade
\xE2 \x94 \x82    ; 179 B3 box drawings light vertical
\xE2 \x94 \xA4    ; 180 B4 box drawings light vertical and left
\xC3 \x81         ; 181 B5 latin capital letter a with acute
\xC3 \x82         ; 182 B6 latin capital letter a with circumflex
\xC3 \x80         ; 183 B7 latin capital letter a with grave
\xC2 \xA9         ; 184 B8 copyright sign
\xE2 \x95 \xA3    ; 185 B9 box drawings heavy vertical and left
\xE2 \x95 \x91    ; 186 BA box drawings heavy vertical
\xE2 \x95 \x97    ; 187 BB box drawings heavy down and left
\xE2 \x95 \x9D    ; 188 BC box drawings heavy up and left
\xC2 \xA2         ; 189 BD cent sign
\xC2 \xA5         ; 190 BE yen sign
\xE2 \x94 \x90    ; 191 BF box drawings light down and left
\xE2 \x94 \x94    ; 192 C0 box drawings light up and right
\xE2 \x94 \xB4    ; 193 C1 box drawings light up and horizontal
\xE2 \x94 \xAC    ; 194 C2 box drawings light down and horizontal
\xE2 \x94 \x9C    ; 195 C3 box drawings light vertical and right
\xE2 \x94 \x80    ; 196 C4 box drawings light horizontal
\xE2 \x94 \xBC    ; 197 C5 box drawings light vertical and horizontal
\xC3 \xA3         ; 198 C6 latin small letter a with tilde
\xC3 \x83         ; 199 C7 latin capital letter a with tilde
\xE2 \x95 \x9A    ; 200 C8 box drawings heavy up and right
\xE2 \x95 \x94    ; 201 C9 box drawings heavy down and right
\xE2 \x95 \xA9    ; 202 CA box drawings heavy up and horizontal
\xE2 \x95 \xA6    ; 203 CB box drawings heavy down and horizontal
\xE2 \x95 \xA0    ; 204 CC box drawings heavy vertical and right
\xE2 \x95 \x90    ; 205 CD box drawings heavy horizontal
\xE2 \x95 \xAC    ; 206 CE box drawings heavy vertical and horizontal
;\xC2 \xA4         ; 207 CF currency sign
\xE2 \x82 \xAC    ; 207 CF Euro sign.
\xC3 \xB0         ; 208 D0 latin small letter eth (icelandic)
\xC3 \x90         ; 209 D1 latin capital letter eth (icelandic)
\xC3 \x8A         ; 210 D2 latin capital letter e with circumflex
\xC3 \x8B         ; 211 D3 latin capital letter e with diaeresis
\xC3 \x88         ; 212 D4 latin capital letter e with grave
\xC4 \xB1         ; 213 D5 latin small letter i dotless
\xC3 \x8D         ; 214 D6 latin capital letter i with acute
\xC3 \x8E         ; 215 D7 latin capital letter i with circumflex
\xC3 \x8F         ; 216 D8 latin capital letter i with diaeresis
\xE2 \x94 \x98    ; 217 D9 box drawings light up and left
\xE2 \x94 \x8C    ; 218 DA box drawings light down and right
\xE2 \x96 \x88    ; 219 DB full block
\xE2 \x96 \x84    ; 220 DC lower half block
\xC2 \xA6         ; 221 DD broken bar
\xC3 \x8C         ; 222 DE latin capital letter i with grave
\xE2 \x96 \x80    ; 223 DF upper half block
\xC3 \x93         ; 224 E0 latin capital letter o with acute
\xC3 \x9F         ; 225 E1 latin small letter sharp s (german)
\xC3 \x94         ; 226 E2 latin capital letter o with circumflex
\xC3 \x92         ; 227 E3 latin capital letter o with grave
\xC3 \xB5         ; 228 E4 latin small letter o with tilde
\xC3 \x95         ; 229 E5 latin capital letter o with tilde
\xC2 \xB5         ; 230 E6 greek small letter mu
\xC3 \x9E         ; 231 E7 latin capital letter thorn (icelandic)
\xC3 \xBE         ; 232 E8 latin small letter thorn (icelandic)
\xC3 \x9A         ; 233 E9 latin capital letter u with acute
\xC3 \x9B         ; 234 EA latin capital letter u with circumflex
\xC3 \x99         ; 235 EB latin capital letter u with grave
\xC3 \xBD         ; 236 EC latin small letter y with acute
\xC3 \x9D         ; 237 ED latin capital letter y with acute
\xC3 \x8F         ; 238 EE em dash
\xC2 \xB4         ; 239 EF acute accent
\xC2 \xAD         ; 240 F0 soft hyphen
\xC2 \xB1         ; 241 F1 plus-minus sign
\xE2 \x80 \x97    ; 242 F2 left right double arrow
\xC2 \xBE         ; 243 F3 vulgar fraction three quarters
\xC2 \xB6         ; 244 F4 pilcrow sign
\xC2 \xA7         ; 245 F5 section sign
\xC3 \xB7         ; 246 F6 division sign
\xC2 \xB8         ; 247 F7 ogonek
\xC2 \xB0         ; 248 F8 degree sign
\xC2 \xA8         ; 249 F9 diaeresis
\xC2 \xB7         ; 250 FA middle dot
\xC2 \xB9         ; 251 FB superscript one
\xC2 \xB3         ; 252 FC superscript three
\xC2 \xB2         ; 253 FD superscript two
\xE2 \x96 \xA0    ; 254 FE black square
\xC2 \xA0         ; 255 FF no-break space
END
=== Cut ===



Incoming is more difficult and it covers only a very limited number of characters.


=== Cut ===
; file utf8_850.chs
;
; By Michiel van der Vlist, 2:280/5555
;
; This file is a Golded+ charset conversion module in text form.
;
; This module converts UTF-8 characters to IBM CP850 characters.
; For now only the characters in the range u+00C0 - u+00FF
;
; Characters outside this range are displayed as a rectangle followed by
; one, two or three nonsence characters.
;
;
; Format: ID, version, level,
;         from charset, to charset,
;         128 entries: first & second byte
;         "END"
; Lines beginning with a ";" or a ";" after the entries are comments
;
;
; cedilla = ,   ; dieresis = ..       ; acute = '
; grave = `     ; circumflex = ^      ; ring = o
; tilde = ~     ; caron = v
; All of these are above the character, apart from the cedilla which is below.
;
; \ is the escape character: \0 means decimal zero,
; \dnnn where nnn is a decimal number, is the ordinal value of the character
; \xnn where nn is a hexadecimal number
; e.g.: \d32 is the ASCII space character
; Two \\ is the character "\" itself.
;
0               ; ID number
0               ; version number
;
4 2             ; level number to display, level number of table
;
UTF-8           ; from set
CP850           ; to set
;
\0 \xB7         ; 192 00C0 latin capital letter a with grave
\0 \xB5         ; 193 00C1 latin capital letter a with acute
\0 \xB6         ; 194 00C2 latin capital letter a with circumflex
\0 \xC7         ; 195 00C3 latin capital letter a with tilde
\0 \x8E         ; 196 00C4 latin capital letter a with diaeresis
\0 \x8F         ; 197 00C5 latin capital letter a with ring above
\0 \x92         ; 198 00C6 latin capital letter ae
\0 \x80         ; 199 00C7 latin capital letter c with cedilla
\0 \xD4         ; 200 00C8 latin capital letter e with grave
\0 \x90         ; 201 00C9 latin capital letter e with acute
\0 \xD2         ; 202 00CA latin capital letter e with circumflex
\0 \xD3         ; 203 00CB latin capital letter e with diaeresis
\0 \xDE         ; 204 00CC latin capital letter i with grave
\0 \xD6         ; 205 00CD latin capital letter i with acute
\0 \xD7         ; 206 00CE latin capital letter i with circumflex
\0 \xD8         ; 207 00CF latin capital letter i with diaeresis
\0 \xD1         ; 208 00D0 latin capital letter eth (icelandic)
\0 \xA5         ; 209 00D1 latin capital letter n with tilde
\0 \xE3         ; 210 00D2 latin capital letter o with grave
\0 \xE0         ; 211 00D3 latin capital letter o with acute
\0 \xE2         ; 212 00D4 latin capital letter o with circumflex
\0 \xE5         ; 213 00D5 latin capital letter o with tilde
\0 \x99         ; 214 00D6 latin capital letter o with diaeresis
\0 \x9E         ; 215 00D7 multiplication sign
\0 \x9D         ; 216 00D8 latin capital letter o with stroke
\0 \xEB         ; 217 00D9 latin capital letter u with grave
\0 \xE9         ; 218 00DA latin capital letter u with acute
\0 \xEA         ; 219 00DB latin capital letter u with circumflex
\0 \x9A         ; 220 00DC latin capital letter u with diaeresis
\0 \xED         ; 221 00DD latin capital letter y with acute
\0 \xE7         ; 222 00DE latin capital letter thorn (icelandic)
\0 \xE1         ; 223 00DF latin small letter sharp s (german)
\0 \x85         ; 224 00E0 latin small letter a with grave
\0 \xA0         ; 225 00E1 latin small letter a with acute
\0 \x83         ; 226 00E2 latin small letter a with circumflex
\0 \x9C         ; 227 00E3 English Pound sign £
;\0 \xC6         ; 227 00E3 latin small letter a with tilde
\0 \x84         ; 228 00E4 latin small letter a with diaeresis
;\0 \xBE         ; 229 00E5 Yen sign
\0 \x86         ; 229 00E5 latin small letter a with ring above
\0 \x91         ; 230 00E6 latin small letter ae
\0 \x87         ; 231 00E7 latin small letter c with cedilla
\0 \x8A         ; 232 00E8 latin small letter e with grave
\0 \x82         ; 233 00E9 latin small letter e with acute
\0 \x88         ; 234 00EA latin small letter e with circumflex
\0 \x89         ; 235 00EB latin small letter e with diaeresis
\0 \x8D         ; 236 00EC latin small letter i with grave
\0 \xA1         ; 237 00ED latin small letter i with acute
\0 \x8C         ; 238 00EE latin small letter i with circumflex
\0 \x8B         ; 239 00EF latin small letter i with diaeresis
\0 \xD0         ; 240 00F0 latin small letter eth (icelandic)
\0 \xA4         ; 241 00F1 latin small letter n with tilde
\0 \x95         ; 242 00F2 latin small letter o with grave
\0 \xA2         ; 243 00F3 latin small letter o with acute
\0 \x93         ; 244 00F4 latin small letter o with circumflex
\0 \xE4         ; 245 00F5 latin small letter o with tilde
\0 \x94         ; 246 00F6 latin small letter o with diaeresis
\0 \xF6         ; 247 00F7 division sign
\0 \x9B         ; 248 00F8 latin small letter o with stroke
\0 \x97         ; 249 00F9 latin small letter u with grave
\0 \xA3         ; 250 00FA latin small letter u with acute
\0 \x96         ; 251 00FB latin small letter u with circumflex
\0 \x81         ; 252 00FC latin small letter u with diaeresis
\0 \xEC         ; 253 00FD latin small letter y with acute
\0 \xE8         ; 254 00FE latin small letter thorn (icelandic)
\0 \x98         ; 255 00FF latin small letter y with diaeresis
\0 \x7F         ; 192 C0 ▀ÖÀÖà
\0 \x7F         ; 193
\0 \0           ; 194 C2
\0 \0           ; 195 C3
\0 \x7F         ; 196 C4
\0 \x7F         ; 197
\0 \x7F         ; 198
\0 \x7F         ; 199
\0 \x7F         ; 200
\0 \x7F         ; 201
\0 \x7F         ; 202
\0 \x7F         ; 203
\0 \x7F         ; 204
\0 \x7F         ; 205
\0 \x7F         ; 206
\0 \x7F         ; 207
\0 \x7F         ; 208 D0
\0 \x7F         ; 209
\0 \x7F         ; 210
\0 \x7F         ; 211
\0 \x7F         ; 212
\0 \x7F         ; 213
\0 \x7F         ; 214
\0 \x7F         ; 215
\0 \x7F         ; 216
\0 \x7F         ; 217
\0 \x7F         ; 218
\0 \x7F         ; 219
\0 \x7F         ; 220
\0 \x7F         ; 221
\0 \x7F         ; 222
\0 \x7F         ; 223
\0 \xDF         ; 224 E0  ▀ÖÀÖÀ
\0 \xDF         ; 225
\0 \xDF         ; 226
\0 \xDF         ; 227
\0 \xDF         ; 228
\0 \xDF         ; 229
\0 \xDF         ; 230
\0 \xDF         ; 231
\0 \xDF         ; 232
\0 \xDF         ; 233
\0 \xDF         ; 234
\0 \xDF         ; 235
\0 \xDF         ; 236
\0 \xDF         ; 237
\0 \xDF         ; 238
\0 \xDF         ; 239
\0 \xDB         ; 240 F0 ▀ÖÀÖÈ
\0 \xDB         ; 241
\0 \xDB         ; 242
\0 \xDB         ; 243
\0 \xDB         ; 244
\0 \xDB         ; 245
\0 ö            ; 246
\0 \xDB         ; 247
\0 \xDB         ; 248
\0 \xDB         ; 249
\0 \xDB         ; 250
\0 \xDB         ; 251
\0 \xDB         ; 252
\0 \xDB         ; 253
\0 \xDB         ; 254
\0 \xDB         ; 255
END
=== Cut ===




Cheers, Michiel

--- GoldED+/W32-MSVC 1.1.5-b20130111
* Origin: http://www.vlist.eu (2:280/5555)

К главной странице гейта
Powered by NoSFeRaTU`s FGHIGate
Открытие страницы: 0.019499 секунды