Thanks for the response, Paul. Here's a bit more background. Since VFP does not natively support Unicode, I have a few challenges. The first is I have to provide the user with a UI to attach the Chinese characters to the appropriate item. I'm well on the way to having that one taken care of so now I have a child table with a primary key and a varbinary column where the automagically converted Chinese will be kept. Then there is a process whereby the necessary plain old text data (stored in VFP tables in this case) gets transmitted to a web server and stored there in a SQL Server DB. Part of that process also adds various HTML formatting tags, etc. This same data is also used in a parallel process that sends an XML file up to another server running a web service (written in Python, btw). My assumption here is that in order to get what I want, I need to take the raw binary and turn that into the HTML equivalent so that I end up with one nicely formatted HTML string.
Paul McNett wrote: > Richard Kaye wrote: > > >> While I'm googling about to find some answers, I figured I should post >> this question to the collective. I'm looking for the equivalent of the >> ASC() function to allow me to take a Unicode character (in this case, >> Chinese) and generate the HTML equivalent (i.e. 台). Ultimately, >> I'm storing this information as a binary string in a VFP table and want >> to be able to read that out, convert to the right Unicode string and >> then pass that on to a web page. >> >> Any pointers? >> > > I'm probably misunderstanding something, but if you have the bytes and > you know what encoding they are in, then just set that encoding in the > web page and pass the bytes on unchanged. > > -- Richard Kaye Vice President Artfact/RFC Systems Voice: 617.219.1038 Fax: 617.219.1001 For the fastest response time, please send your support queries to: Technical Support - [EMAIL PROTECTED] Australian Support - [EMAIL PROTECTED] Internet Support - [EMAIL PROTECTED] All Other Requests - [EMAIL PROTECTED] --------------------------------------------------------- This message has been checked for viruses before sending. --------------------------------------------------------- _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

