shift or die

yapb — yet another perl blog

[LOGO] alech's blog. Perl, Security, Curiosities, Links, Rants, Photos, yadayada

Navigation

Home | Articles

Tags

  • 2009challenge
  • 202c
  • angerwhale
  • chaosradio
  • darmstadt
  • deutsch
  • dns
  • dpw9
  • english
  • ffm
  • firefox
  • funny
  • gpw9
  • kite
  • md5
  • mifare
  • mrmcd
  • mrmcd111b
  • muenchen
  • music
  • nexenta
  • openbc
  • openxpki
  • osx
  • perl
  • ph-neutral
  • photos
  • rant
  • ruby
  • security
  • snowboarding
  • spaces
  • sup
  • unicode
  • vbscript
  • vegetarisch
  • virtuedesktops
  • vorratsdatenspeicherung
  • xing

Login

Not logged in. Log in.

Respond to Unicode in VBScript — the AscW() rant

Re: Unicode in VBScript — the AscW() rant

Written by Anonymous Coward (0) on 2009-6-30 (火) at 11:17 pm

little error in the block

MaskSixBits = 2^6 - 1 ' the lower 6 bits are 1

MaskFourBits = 2^4 - 1 ' the lower 4 bits are 1

MaskThreeBits = 2^3 - 1 ' the lower 3 bits are 1

MaskTwoBits = 2^2 - 1 ' the lower 3 bits are 1

in the last line the comment should read "'the lower 2 bits are 1"

Note: you're not logged in. To identify yourself, please login or PGP sign your message (either clearsign or ASCII-armored is OK).

Title:

Captcha text:

captcha -- if you can't see it, log in instead

Format:

Caveat poster: if you decide to digitally sign your post, add something to it mentioning that it is attached to this article. Otherwise, someone could just paste it into another discussion, out of context, and the signature would still validate.


Page generated by Angerwhale version 0.03 (390 ) on 2010-9-8 (水) at 7:56 pm.

Valid XHTML. Valid CSS. Valid SVG. (If you're seeing this, though, you need a better browser so you can actually see them!)