Skip to content

Bugs in handling non-ASCII characters in clipboard over restarts #357

@comodoro

Description

@comodoro
  1. If I select "závorka", do "stoosh three", restart Dragon and do "spark three", I get zxe1vorka. It should be encoded as z\xe1vorka. Probably affects characters 128-255. Confirmed by @mrob95

  2. Certain saved clipboard items give

<class 'toml.decoder.TomlDecodeError'>
Reserved escape sequence used (line 1 column 1 char 0)
<traceback object at 0x0EF9EB48>
  File "C:\workspaces\dns_userdir\caster\lib\utilities.py", line 85, in load_toml_file
    result = toml.loads(f.read())

  File "C:\Python27\lib\site-packages\toml\decoder.py", line 458, in loads
    raise TomlDecodeError(str(err), original, pos)

A clipboard file is pasted here: https://pastebin.com/jGeV5jvE

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugUnexpected behavior from existing features.UpStreamAn issue related to an upstream dependency or project.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions