sIFR: dynamically inserting umlaut causes trouble

Posted by arold on Stack Overflow See other posts from Stack Overflow or by arold
Published on 2010-02-23T13:39:51Z Indexed on 2010/05/25 20:01 UTC
Read the original article Hit count: 173

Filed under:
|
|

Hi,

let me state cleary at the beginning that I know about the embedding issue in flash. So, to the point. If sIFR replaces an umlaut (ä,ö,ü) which is hard coded in the HTML file everythings works fine. But when I want to insert it dynamically it is not displayed. I played around with charset options to specifiy the javascript file i'm referencing but it doesnt change a thing.

Here's JavaScript and sIFR code:

sIFR.replacements["#image-counter span"][0].replaceText("ö");

I tried as well to replace "ö" by "ö" and "&#246" but this doesnt work around it either.

Any ideas?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about sifr