Skip to content

Unnecessary encoding #12

@dilyanpalauzov

Description

@dilyanpalauzov
import rfc2047 from 'rfc2047'
console.log(rfc2047.encode("uvwxy-Bucureşti <uvwxy-bucuresti@uvwxy.eu>"))

prints =?utf-8?Q?uvwxy-Bu?= =?utf-8?Q?cure=C5=9Fti?= <uvwxy-bucuresti@uvwxy.eu>.

The problem report is, that there is no need to encode uvwxy-Bu as =?utf-8?Q?uvwxy-Bu?=.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions