Perceive

A quick Unicode lesson.

Joel wrote a nice about Unicode. Well, there are some catches that I need to save here.

  • in ASP, when using unicode and SQL, make sure you use the nvarchar, nchar, ntext datatypes. These are explicitly for unicode, and use 2 bytes to store every character.
    • make sure to specify utf-8 everywhere in the output HTML. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <?xml version="1.0" encoding="utf-8"?>
    • Make sure to use a unicode text editor. Textpad and Dreamweaver MX work well.
Tags
Related Links Elsewhere