FW: Subj: How to convert unicode block to bold tag....

From: Magda Danish \(Unicode\) (v-magdad@microsoft.com)
Date: Wed Oct 12 2005 - 11:14:33 CST

  • Next message: Chris Jacobs: "Re: Subj: How to convert unicode block to bold tag...."

    -----Original Message-----
    Date/Time: Tue Oct 11 20:05:09 CST 2005
    Contact: davidlarew@hotmail.com
    Name: David Larew
    Report Type: Other Question, Problem, or Feedback Opt Subject: How to convert unicode block to bold tag....

    The output below shows the blocks. I've tried everything I can think of to replace the block with a tag...nothing works.
    Thanks in advance,
    David Larew, M.Ed.

    ps I know the code works because it will convert a c to a k...
    so if I could grab the unicode block then I could convert it, right?

            // Specify file, instructions, and privelegdes
                                                    FileStream file = new FileStream("C:\\share\\test.txt", FileMode.OpenOrCreate, FileAccess.Write);
                
                                                    // Create a new stream to write to the file
                                                    StreamWriter sw = new StreamWriter(file);

                                                    string ublka = "\u2610";
                                                    string bldo = "<b>";

                                                    //string ublka = "c";
                                                    //string bldo = "k";

                                                    // Write a string to the file
                                                    sw.Write(sourceResult.Description.Replace(ublka,bldo));

                                                    // Close StreamWriter
                                                    sw.Close();

    Output:>>>

    Unicode These fonts are distributed subject to the my license , which is just a copy of one from the Berkley Software distribution. They are original work on my part. The FreeFont project (on savannah ... ebrew ... .. Terms General ... New York ...

    -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- (End of Report)



    This archive was generated by hypermail 2.1.5 : Wed Oct 12 2005 - 11:16:41 CST