Generate QR code for business card
When using Chinese/UTF-8 characters in the QR-code, it seems to be necessary for some readers to explicitly signal the UTF-8 coding by inserting a UTF-8 BOM (Byte order mark) at the start of the content. The QR code contents will therefore start with hex
ef bb bf.
QR code type signaling seems to be not standardized, and the most portable way to provide a way to visit a web site seems to be to just use a URL that starts with
http://. To add other information to the code, we add a anchor tag to the url by appending a
# sign. Any further information in the tag will be displayed without interference with the URI detection of the code reader.