Re: Unicode problem with pyyaml 3.05

Kirill Simonov <[email protected]>
Newsgroups gmane.text.yaml.general
Message-ID <[email protected]>
Hi Joseph,

Joseph Turian wrote:
> I have pyyaml 3.05. When I try to dump a unicode string obtained from 
> BeautifulSoup, I get the following errors.
> 
> Why can I not dump these unicode strings?
> 
> Thanks,
>     Joseph
> 
> Traceback (most recent call last):
>    File "./extract-data.py", line 34, in <module>
>      print yaml.dump(data)
[...]

What is the type of the 'data' object?  Could you post complete code and 
input data?

Thanks,
Kirill

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.