"Marc Gravell" <ma**********@gmail.comwrote in message
news:uU**************@TK2MSFTNGP04.phx.gbl...
ASCII only defines the first 128 symbols, which does not include é;
From your post, it isn't entirely sure if you are trying to exclude é from
the source, or handle it; it the latter, you can't using ASCII, which is
why
encodings exist in the first place. Note that the "default" encoding is
(IIRC) only "default" on your system; in a different config something else
may be the default, and you could start seeing the wrong characters.
Either you need to agree on (or transmit separately) a specific codepage,
or
you need to use a more versatile encoding such as UTF-8. Note that UTF-8
is
compatible with ASCII as long as you stay within the 128 ASCII characters.
If you clarify what exactly you want to do, somebody can probably give a
more complete answer
Marc
*******************************
PROBLEM DESCRIPTION
*******************************
In an application I create text. For it I have
written a spell check module in which I
compare words from the text with words
from the vocabulary. If the vocabulary
does not contain a word, that word is
added to the vocabulary upon the request
of the user. Problems arise if the word
the user adds contains characters like é,
à, ë, etc. Their representation in the
list of vocabulary words, which is a txt
file, is with 'funnies', presumably because
the txt format cannot handle characters outside
of the limited range of ASCII characters.
*******************************
Many thanks in advance for your help.
Adrian.