RE: Newbie questions: 1) Surrogates in WinXP? 2) Unicode in PostScript?

From: Benjamin Peterson (ben@jbrowse.com)
Date: Mon Apr 05 2004 - 11:21:25 EDT

  • Next message: Mike Ayers: "RE: Fixed Width Spaces"

    The article shows how to enable OS support for surrogates in fonts and
    IMEs, but it is helpful to bear in mind that applications tend not to
    care. For instance SQL server does not correctly sort surrogates --
    although it doesn't split or truncate them either (which is an
    improvement over the competition afaics).

    Worse, most 3rd party win32 apps that process strings either treat them
    as arrays of wchars or use CharNext/CharPrev, which don't allow for
    surrogates. But the good news is that the .net libs do seem to allow for
    surrogates and combining chars right in the string class -- which brings
    us dangerously close to relatively hassle-free use of multi language
    text!

    Benjamin

    On Mon, 5 Apr 2004 07:02:47 -0700, "Carl W. Brown" <cbrown@xnetinc.com>
    said:
    > Benjamin,
    >
    > > Versions up until Windows 2000 use UCS-2 internally. 2000 and XP use
    > > UTF-16, although applications tend to have differing levels of awareness
    > > about surrogates.
    >
    > You can enable Win2K surrogate support
    >
    > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/intl/unicod
    > e_192r.asp
    >
    > Carl
    >
    >
    >
    >
    >

    -- 
      Benjamin Peterson
      bjsp123@imap.cc
    


    This archive was generated by hypermail 2.1.5 : Mon Apr 05 2004 - 12:50:12 EDT