If you want to use UTF-8 literally in your code, then you need to include a use utf8 declaration in your source file, preferably near the top. You can also use the built-in chr function to produce a character with a certain numeric code point.
Comment on Re: Representing "binary" character in code?