Skip to content

Instantly share code, notes, and snippets.

@berk76
berk76 / windows_service.md
Last active November 12, 2017 22:10
Framework for Windows NT/2000/XP service application

Template for creating Windows service application in c

All necessary information are included in comments within following template.

/* --------------------------------------------
   Framework for Windows NT/2000/XP service application
   Copyright (c) 2005, Franck Charlet
   All rights reserved.
@berk76
berk76 / bom.md
Last active November 11, 2017 19:54
BOM

Byte Order Mark

Byte Order Mark (BOM) is a Unicode character used to signal the endianness (byte order) of a text file or stream. Its code point is U+FEFF. BOM use is optional, and should appear at the start of the text stream, if used.

Types of BOM:

Encoding Representation
UTF-8 EF BB BF
UTF-16 (BE) FE FF