Log in

No account? Create an account
LiveJournal Development [entries|archive|friends|userinfo]
LiveJournal Development

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

November 14th, 2005

getting cyrillic non-utf8 comments by means of export_comments.bml [Nov. 14th, 2005|09:31 pm]
LiveJournal Development

I have a question regarding old non-utf8 comments when
getting them through export_comments.bml.

export_comments.bml call LJ::text_out on comments' subject
and body, which "blots out all non-ASCII chars":

$$rtext =~ s/[\x00\x80-\xff]/\?/g;

So instead of old cyrillic comments one can only get
question marks.

Journal entries (exported by export_do.bml) on the contrary
are correctly converted by LJ::text_convert.

May I ask developers of livejournal to upgrade export_comments.bml
to use LJ::text_convert on comments' subject, body and picture keywords,
so it gives out somewhat correct data for old non-utf8 comments?

Thanks in advance.
link4 comments|post comment

[ viewing | November 14th, 2005 ]
[ go | Previous Day|Next Day ]