Skip to content

UTF-8 / ASCII-8BIT issue #164

@docent-net

Description

@docent-net

Tried to post BOM (https://en.wikipedia.org/wiki/Byte_order_mark) via Earthquake () and got:

[ERROR] incompatible character encodings: UTF-8 and ASCII-8BIT
    /usr/local/share/gems/gems/earthquake-1.0.0/lib/earthquake/commands.rb:155:in `join'
    /usr/local/share/gems/gems/earthquake-1.0.0/lib/earthquake/commands.rb:155:in `block (2 levels) in <top (required)>'
    /usr/local/share/gems/gems/earthquake-1.0.0/lib/earthquake/input.rb:46:in `call'
    /usr/local/share/gems/gems/earthquake-1.0.0/lib/earthquake/input.rb:46:in `input'
    /usr/local/share/gems/gems/earthquake-1.0.0/lib/earthquake/commands.rb:168:in `block (2 levels) in <top (required)>'
    /usr/local/share/gems/gems/earthquake-1.0.0/lib/earthquake/input.rb:46:in `call'
    /usr/local/share/gems/gems/earthquake-1.0.0/lib/earthquake/input.rb:46:in `input'
    /usr/local/share/gems/gems/earthquake-1.0.0/lib/earthquake/core.rb:139:in `block (3 levels) in start'
    /usr/local/share/gems/gems/earthquake-1.0.0/lib/earthquake/core.rb:236:in `call'
    /usr/local/share/gems/gems/earthquake-1.0.0/lib/earthquake/core.rb:236:in `block in sync'
    /usr/local/share/gems/gems/earthquake-1.0.0/lib/earthquake/core.rb:235:in `synchronize'
    /usr/local/share/gems/gems/earthquake-1.0.0/lib/earthquake/core.rb:235:in `sync'
    /usr/local/share/gems/gems/earthquake-1.0.0/lib/earthquake/core.rb:136:in `block (2 levels) in start'

Worked via standard Twitter webclient; moreover Earthquake shows correctly entries with that BOM-string. Posting is just not possible

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