Skip to content

Morse code error handling #1

@ratijas

Description

@ratijas

<ITU as Dialect>::encode_unknown should really handle encoding errors instead of being an empty slice of code points.

This is our current implementation:

    fn encode_unknown(&self) -> KnownCodePoints {
        Self::EMPTY
    }

According to the Wikipedia, the protocol defines the following sequence for error under the Prosigns section:

· · · · · · · · 

Not sure if it is applicable for encoding unknown characters though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions