RE: Help in a HURRY !!!!!!!!!!!!!!!!!!!!!!!

2001-05-15 Thread Yves Arrouye
To go with Lukas's Perl code, I'll provide a C version, not really tested either, with ICU, to give him a choice. No error checking etc., just to give the idea. If you want UTF-16 you'll need to use the macros in unicode/utf16.h to generate surrogate pairs properly. #include stdio.h #include

UTF-8 to decimal NCRs (was Re: Help in a HURRY !^23)

2001-05-14 Thread Daniel Biddle
On Mon, 14 May 2001, Dr.Keihany wrote: I'm looking for a software that can do this : [convert UTF-8 into HTML decimal NCRs] Pipe the text through the following perl program: #!/usr/bin/perl -p use utf8; s/./#.ord($).;/eg; hope this helps, -- Daniel Biddle [EMAIL PROTECTED]