[Lazarus] Problem encode UTF8 with BOM in unit

Honza befelemepeseveze at gmail.com
Wed Jan 25 11:13:16 CET 2012


2012/1/24 Zaher Dirkey <parmaja at gmail.com>:
> I created new project, then choose "File Settings -> Encoding -> UTF8 with
> BOM -> Change file"

Although BOM is valid in UTF8, its use is not recommended
(http://en.wikipedia.org/wiki/Byte_order_mark#cite_note-1). I'm
surprised Lazarus supports this at all. IMO this feature should be
removed and UTF-8 files with BOM should be rejected by FPC and Lazarus
as invalid.

Flame war in 3, 2, ... ;-)




More information about the Lazarus mailing list