Skip to content

fdb decodes message with a system encoding while it`s encoded using server encoding #105

@nikto-b

Description

@nikto-b

How to reproduce:

  1. Run Firebird 2.0 under Windows 10 (default charset is CP1251)
  2. Run python3 under Linux (default charset is UTF-8) with fdb==2.0.2
  3. Run procedure that returns as an exception some cyrillic symbols
  4. See 'utf-8' codec can't decode byte 0xf2 in position 0: invalid continuation byte error

Stacktrace points into a fbcore.py:607
Probably, the solution can be to use a charset option from the connect method here but have no idea how to do this

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions