Друк Бубуки (ex_nit) wrote in lj_dev,
Друк Бубуки
ex_nit
lj_dev

getting cyrillic non-utf8 comments by means of export_comments.bml

Hello.

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.
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 4 comments