31.08.2013 13:53, Mark Rotteveel wrote:
> On 31-8-2013 13:38, Dimitry Sibiryakov wrote:
>> 31.08.2013 13:29, Mark Rotteveel wrote:
>>> As most languages don't need those surrogate pairs for their
>>> codepoints/glyphs, it is easier to consider UTF-16 to be 2 byte. As far
>>> as I know this is how most UTF-16 implementations handle it.
>>
>>      In this case UTF-16 has no difference from UCS2.
>>
>
> Almost but as far as I know UCS-2 didn't have the concept of surrogate
> pairs.

   Don't have such concept and ignore it give the same result. You wrote that 
"most 
languages don't need those surrogate pairs", so clarify yourself whether you 
takes 
surrogates into account or ignore them. In first case UTF-16 have up to 5 bytes 
per 
character, in the second one UCS2 is fine.

-- 
   WBR, SD.

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to