From: "AVL" <info@atmsk.ru>
To: <mandrake-russian@altlinux.ru>
Subject: [mdk-re] вот гадость какая в expat.
Date: Tue Dec 25 18:56:01 2001
Message-ID: <001301c18d5d$0494a550$0201a8c0@calex> (raw)
а через этот парсер xml все и идет в XRC в wxWindows.
-----------------------------------------------------------
How can I get expat to deal with non-ASCII characters?
By default, expat assumes that documents are encoded in UTF-8. In UTF-8,
ASCII characters are represented by a single byte as they would be in ASCII,
but non-ASCII characters are represented by a sequence of two or more bytes
all with the 8th bit set. The encoding most widely used for European
languages is ISO 8859-1 which is not compatible with UTF-8. To use this
encoding, expat must be told either by supplying an argument of "iso-8859-1"
to XML_ParserCreate, or by starting the document with <?xml version="1.0"
encoding="iso-8859-1"?>.
What encodings does expat support?
expat has built in support for the following encodings:
utf-8
utf-16
iso-8859-1
us-ascii
Additional encodings can be supported by using
XML_SetUnknownEncodingHandler.
----------------------------------------------------------------------------
-----------------
с другой стороы, есть там в исходниках вот что:
ascii.h
------------------------
.....................
#define ASCII_A 0x41
#define ASCII_B 0x42
#define ASCII_C 0x43
#define ASCII_D 0x44
#define ASCII_E 0x45
#define ASCII_F 0x46
#define ASCII_G 0x47
#define ASCII_H 0x48
#define ASCII_I 0x49
..................
------------------------
может также можно и cp1251 с koi8-r задать?
next reply other threads:[~2001-12-25 18:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-25 18:56 AVL [this message]
2001-12-25 19:00 ` [mdk-re] " Aleksey Novodvorsky
2001-12-25 19:10 ` [mdk-re] " AVL
2001-12-25 19:21 ` Aleksey Novodvorsky
2001-12-25 19:39 ` [mdk-re] " AVL
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='001301c18d5d$0494a550$0201a8c0@calex' \
--to=info@atmsk.ru \
--cc=mandrake-russian@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git