This seems like a simple problem, but I can't seem to find a simple solution. While working with AxKit::XSP::Currency and Locale::Currency::Format, I can't figure out the best way to get the currency symbol through XSP.

The convert method takes options, one of which is FMT_HTML. As described in the docs, FMT_HTML for JPY (Japenese Yen) returns: ¥

The taglib simply writes the XSP code which in turn calls convert and the result is returned in each node. However, somewhere in XSP is escaping the outpout which sends this to the XML output instead: ¥ which if course isn't want I'm after.

What's the best way to avoid this automatic escaping of the results from the XSP code? I tried $e-<manage_text(0) without any luck.

On a side note, L::C::Format can just return the symbol,, but it's unclear what encoding it is actually in. That is why I was shooting for the &#x0000 encoding method instead.

Thanks,
-=Chris

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature



Reply via email to