LJ::text_convert — convert old entries/comments to UTF-8 using user's default encoding
LJ::text_convert
(dbs, text, u, error);
dbs.
text. old possibly non-ASCII text to convert
u. user hashref of the journal's owner
error. ref to a scalar variable which is set to 1 on error (when user has no default encoding defined, but text needs to be translated)
cgi-bin/ljlib.pl
converted text or undef on error