UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte

Chris Angelico rosuav at gmail.com
Sun Sep 29 04:23:35 EDT 2013


On Sun, Sep 29, 2013 at 6:19 PM, Νίκος <nikos.gr33k at gmail.com> wrote:
> ipval is suposed to get just an ip address.
> ip addresses doesnt change its just number seperated by dots.

That's one way an IP address can be rendered. It's not the only one.
There's an entire category of IP addresses that's usually written with
colons rather than dots. However, I reiterate: How do you KNOW what's
in ipval? I wonder if there's an easy way for you to find out...

ChrisA



More information about the Python-list mailing list