Skip to content

iCalendar UTF8 Encoding with/without BOM #823

@axunonb

Description

@axunonb

RFC5545 sect. 3.4.1 says that iCal default charset is UTF8.
Additionally, applications must generate iCalendar streams in the UTF-8 charset.

Regarding the use of a Byte Order Mark (BOM) with UTF-8 there is no mention.
However, from my experience Android, Google, Apple fail for UTF8 with BOM.

Question @ical-org/maintainers
When we serialize to a stream, should we use UTF8Encoding(false) by default (encoding parameter is null), unless the user provides an explicit (other) Encoding?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions