Bitcoin Forum

Bitcoin => Electrum => Topic started by: bitokman on May 06, 2015, 02:32:47 AM



Title: ascii codec cant decode byte 0xca in position 22: ordinal not in range(128)
Post by: bitokman on May 06, 2015, 02:32:47 AM
Чтo зa бeдa?

Уcтaнoвил 2.1.1. Зaпycтил. Bвeл зepнo, пapoль и пocлe этoгo выcкaкивaeт: ascii codec cant decode byte 0xca in position 22: ordinal not in range(128)

What kind of trouble?

Install 2.1.1. Launched. Introduced seed password, and then pops up: ascii codec cant decode byte 0xca in position 22: ordinal not in range(128)


Title: Re: ascii codec cant decode byte 0xca in position 22: ordinal not in range(128)
Post by: btchris on May 06, 2015, 02:14:34 PM
What kind of trouble?

Install 2.1.1. Launched. Introduced seed password, and then pops up: ascii codec cant decode byte 0xca in position 22: ordinal not in range(128)

It has something to do with using a non-English letter somewhere, maybe a non-English letter in your username? I'm not sure yet.

What is your operating system?


Title: Re: ascii codec cant decode byte 0xca in position 22: ordinal not in range(128)
Post by: btchris on May 07, 2015, 01:35:36 PM
in the 22th position of your password

Electrum handles passwords with non-ASCII fairly well. (It never crashes, but it (as well as most wallets, even Bitcoin Core) has a problem in that it doesn't normalize them.)

It also seems to handle non-ASCII wallet file names OK too.

It doesn't handle non-ASCII usernames, but when I tested it, it just crashed on startup, so it didn't behave the way bitokman described.

I couldn't figure out exactly what was wrong. If bitokman responds with their operating system, I'll try to describe how to run Electrum from a terminal in order to get a more specific error message.