Hi!

I'm currently playing with Djvu and have some troubles with text information
passed to it. By standard, all non-ASCII text should be represented as UTF-8
encoded octal string, i.e.
\320\222\320\262\320\265\320\264\320\265\320\275\320\270\320\265 (in this
particular example we have Russian word "Введение").

The problem is: I don't know how to convert from usual string ("Введение") to
octal (represented above) and back. I mean, I understand algorithm, but I don't
know how to do it in a simple way. I thought about writing small C program to
do that, but I guess there are some piece of software performing this task
already, so I better ask in mailing list first.

Any advices?

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81

Attachment: signature.asc
Description: Digital signature

Reply via email to