Skip to content
This repository was archived by the owner on Jul 12, 2022. It is now read-only.
This repository was archived by the owner on Jul 12, 2022. It is now read-only.

NonAsciiCharactersAreEscapedInLiterals issue with Verbatim Stings #39

Open
@ellismg

Description

@ellismg

The current rule will convert @"This is a snowman: ☃." to: @"This is a snowman: \u2603.". This is wrong because we want the unicode literal in the string, not the escaped version. Instead it should convert it to something like:

@"This is a snowman: " + "\u2603" + @"."

Note that to be nice we should probably compress runs of Unicode characters together if they appear one after another.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions