Re: COMPARE HLL/ASM



On Tue, 25 Dec 2007 18:13:01 +0100
"Wolfgang Kern" <nowhere@xxxxxxxx> wrote:

I think we've done something similar a few years ago.

Indeed we have. So let's try something a bit more modern this time:
1. The string encoding is UTF8.
2. The test strings will include non-ascii characters.
3. The routine is passed two parameters
A. A pointer to the UTF8 string
B. The physical length, in bytes, of the UTF8 string.
4. The routine must return the number of characters in the string.

-- Chuck

.



Relevant Pages

  • Re: COMPARE HLL/ASM
    ... The string encoding is UTF8. ... The test strings will include non-ascii characters. ... The routine must return the nu-mber of characters in the string. ...
    (alt.lang.asm)
  • Re: more DBD::Oracle utf8 weirdness, and kludge that should not have worked, but did
    ... And what are the _client_ CHAR and NCHAR character sets? ... It's important to keep in mind that "validates as utf8" is ambiguous. ... If a sequence of bytes that does not have the SvUTF8 flag turned ... Latin1 character will produce garbage unless the string is all ASCII. ...
    (perl.dbi.users)
  • Re: Character semantics for filenames (was: win32 reading wide filenames (unicode))
    ... Now file name is stored in utf8 format. ... it doesn't make any difference whether the string is internally ... DO WITH CHARACTERS ABOVE "\xFF". ... encoding to perl strings by readdir and from perl strings to the OS ...
    (comp.lang.perl.misc)
  • Re: Multi language application
    ... the block below implies that you created your app as "Unicode app". ... Whether you choose UTF8 or UTF16 is really up to you but by default in a "Unicode app", you're likely to write less code with UTF16 strings. ... You can use::MultiByteToWideChar Win32 API to convert from UTF-8 to UTF-16, and pass the UTF-16 string to Windows controls. ...
    (microsoft.public.vc.mfc)
  • Re: CGI and UTF-8
    ... misbehaving XS module) is a bug in perl. ... discard the invalid ones as soon as possible. ... related to invalid utf8 in a SvUTF8 string, ...
    (comp.lang.perl.misc)