Index > Scribe > Password can only accept ASCII (7Bit) | |
---|---|
Author/Date | Password can only accept ASCII (7Bit) |
russf 27/03/2006 7:55am | Hi,
I have set up an E-Mail Account that contains some special characters like "§" or "µ". Unfortunately i.Scribe is not able to use this characters within a password. Any suggestions? Cheers Russ |
russf 27/03/2006 8:03am | Just a little correction: the e-mail account does not contain special characters. Just the password has some special characters which ASCII code is > 128...
|
fret 27/03/2006 10:47pm | So what charset is the server expecting those characters to be in?
Scribe by default does everything in utf-8, which is the standard character set for unicode. So it'll be sending the password in utf-8 because the POP and SMTP standards don't define the character set for the password. |
russf 27/03/2006 11:33pm | Ok, here is what WinDump shows me when I use Eudora and enter password "test§". It encodes it as ASCII 0xA7, which is accepted by the server:
01:26:14.127369 IP pop.gmx.net.110 > MY-PC.2059: P 81:120(39) ack 21 win 5840 0x0000: 4500 004f e1b3 4000 3906 d778 d5a5 4016 E..O..@.9..x..@. 0x0010: c0a8 b218 006e 080b 0cb0 d744 7620 68ec .....n.....Dv.h. 0x0020: 5018 16d0 51ed 0000 2b4f 4b20 4d61 7920 P...Q...+OK.May. 0x0030: 4920 6861 7665 2079 6f75 7220 7061 7373 I.have.your.pass 0x0040: 776f 7264 2c20 706c 6561 7365 3f0d 0a word,.please?.. 01:26:14.127986 IP MY-PC.2059 > pop.gmx.net.110: P 21:33(12) ack 120 win 65416 0x0000: 4500 0034 3319 4000 8006 3f2e c0a8 b218 E..43.@...?..... 0x0010: d5a5 4016 080b 006e 7620 68ec 0cb0 d76b ..@....nv.h....k 0x0020: 5018 ff88 88a3 0000 5041 5353 2074 6573 P.......PASS.tes 0x0030: 74a7 0d0a t... When I use i.Scribe with the same password: 01:31:09.198531 IP pop.gmx.net.110 > MY-PC.2070: P 58:97(39) ack 15 win 5840 0x0000: 4500 004f 80cc 4000 3906 3860 d5a5 4016 E..O..@.9.8`..@. 0x0010: c0a8 b218 006e 0816 1443 11d1 d3a3 fa95 .....n...C...... 0x0020: 5018 16d0 2096 0000 2b4f 4b20 4d61 7920 P.......+OK.May. 0x0030: 4920 6861 7665 2079 6f75 7220 7061 7373 I.have.your.pass 0x0040: 776f 7264 2c20 706c 6561 7365 3f0d 0a word,.please?.. 01:31:09.198677 IP MY-PC.2070 > pop.gmx.net.110: P 15:28(13) ack 97 win 65439 0x0000: 4500 0035 349e 4000 8006 3da8 c0a8 b218 E..54.@...=..... 0x0010: d5a5 4016 0816 006e d3a3 fa95 1443 11f8 ..@....n.....C.. 0x0020: 5018 ff9f 88a4 0000 5041 5353 2074 6573 P.......PASS.tes 0x0030: 74c2 a70d 0a t.... It encodes "§" to ASCII 0xC2 and 0xA7, which is not accepted. |
fret 28/03/2006 12:13am | The character is a section sign which is unicode 0xa7 which doesn't appear in the us-ascii extended character set.
0xa7 in us-ascii is unicode U+B0, otherwise known as the degree symbol. Maybe I should convert the utf-8 into ISO 8859-1 before sending it, as many internet protocol standards default to ISO 8859-1. ISO 8859-1 is an identity mapping to unicode, so 0xa7 in ISO 8859-1 = 0xa7 in unicode. I think this is the best bet. |
fret 28/03/2006 2:18am | Try v1.89-test1 which is online now, it has a possible fix in for this issue. |
russf 28/03/2006 6:44pm | Yes, it works now! :-) |
Reply | |