Using Sab 0.52, Win32. I'd like to produce output in UTF-8 format, but escaping every character with code n greater than 127 to its equivalent character entity &#n.; Had i wanted to do this using another output encoding (US-ASCII, for instance), I could do it by stating <xsl:output encoding="US-ASCII"> and then registering an appropriate encription handler for that enconding. I wrote the code for doing just that enad everything works fine. The problem comes when try to run the encription handler for "UTF-8" encoding; in this situation, my enc handler never gets called (I guess because Sab understands UTF-8 is native and does not require any user supplied handler). Any ideas on how to get the effect I'm after? If I haven't made my point clear enough, please tell me so and I'll try to elaborate more on the problem. PS: If someone wants the code for the encription handler, I'll be glad to give it away to the open source world :) Joaqu�n M� L�pez Mu�oz Telef�nica Investigaci�n y Desarrollo
[Sab] UTF-8 output with character entities
Joaqu�n M� L�pez Mu�oz Thu, 31 May 2001 04:53:09 -0700
- Re: [Sab] UTF-8 output with character entities Joaqu�n M� L�pez Mu�oz
