Search code examples
jqueryfontssifr

sIFR encoding the non-breaking space char - %20


Gotta be something I'm doing wrong when converting the ttf with OpensIFRr, but I'm seeing %20 chars for non-breaking spaces in all sIFR'd text. I'm using the jQuery sIFR plugin (3.04) with the following:

<div><h1>My Example Text</h1></div>
...    
<script type="text/javascript">
        <!--
            var $j = jQuery;
            $j(document).ready(function(){
                    $j('h1').sifr({
                        path: '/fonts/',
                        font: 'fancy_script'
                    });
            });
        //-->
</script>

Happens no matter which font I use.


Solution

  • Looks like an issue with the jQuery plugin to me. Try using the official sIFR release and see if that helps.