On Fri, 12 Apr 2002 09:19:23 +0100 Sebastian Rahtz wrote:
> On Thu, Apr 11, 2002 at 03:33:41PM +0100, Ralph Cleminson wrote:
> > I'm sorry to have been so laconic in my last message. Basically,
> > what I need to do is to translate Unicode text into entity references,
> > or, if you like, Unicode characters into ASCII characters. In other
> > words, if my input is Псалми Давидови, I want my output to be
> > Псалми
> > Давидови.
> dare one ask *why* you want to this transform? what do you gain?
Because if I have the former in my XML document, the browser
displays a row of question marks, whereas if I have the latter, it
displays nice cyrillic.
> your input appears to me to be ISO-8859-1, by the way.
It does now, but I'm sure it was Unicode when I entered it. Perhaps
I'm missing something (I don't have any background in
programming, remember), but I thought that if you typed something
in a Unicode font on a Unicode-compliant operating system, the
machine would save it as Unicode. Or am I just being naive?