Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: Easy way to change speciale characters into codes >Thread Next - Re: Easy way to change speciale characters into codes Re: Easy way to change speciale characters into codesTo: NULL Date: 10/5/2005 7:33:00 AM Thanx I did it this way <xsl:variable name=3D"oms" select=3D"translate(Pairs/Pair/AssignmentText, 'ÀÁÂÃÄÅÈÉÊËÌÍ&#= 206;ÏÒÓÔÕÖØÜÛÙÚÑ= ;Çàáâãäåéèëêí&#= 237;îïñóòôöõúùûü= ;ø' , 'ËçåÌ€éƒæèíê&= #235;ìñîïÍ…¯†óôò
= 2;‚ˆ‡‰‹ŠŒŽ‘’&= #147;”•–—˜™š›œž= 9;¿')"/> the first list are ANSI-codes, the second list are MacRoman codes Julian F. Reschke wrote: > XSLNews wrote: > > Hello, > > > > I am making a textfile with xsl but the textfile is for a Apple > > macintosh so this machine doesn't recognize the character for example > > =EB, it must be Î > > No, it doesn't have to. As long as the text file is legal XML, any > recipient should understand it. > > > Does anybody know a easy way to change all my special characters into > > this codes ??? > > You can try to specify an output encoding of "US-ASCII", but not all > XSLT engines will support that (only UTF-8 and UTF-16 are mandatory). >=20 > Best regards, Julian | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
