<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>haxe / neko / Adobe Flash Plugin for Linux UTF-8 TextField bug workaround...</title>
    <link>http://forum.geizhals.at/feed.jsp?id=608123</link>
    <description>Geizhals-Forum</description>
    <item>
      <title>Re: haxe / neko / Adobe Flash Plugin for Linux UTF-8 TextField bug workaround...</title>
      <link>http://forum.geizhals.at/t608123,5166538.html#5166538</link>
      <description>Erst Perl, dann Flash, ihr seid verrückt. &lt;img src="hornteeth.gif" width="16" height="26" align="absmiddle" alt="&amp;gt;&amp;#58;-D"/&gt;&lt;br/&gt;</description>
      <pubDate>Sat, 29 Nov 2008 16:56:27 GMT</pubDate>
      <guid>http://forum.geizhals.at/t608123,5166538.html#5166538</guid>
      <dc:creator>juwb</dc:creator>
      <dc:date>2008-11-29T16:56:27Z</dc:date>
    </item>
    <item>
      <title>haxe / neko / Adobe Flash Plugin for Linux UTF-8 TextField bug workaround...</title>
      <link>http://forum.geizhals.at/t608123,5165710.html#5165710</link>
      <description>Problem:&lt;br&gt;&lt;br&gt;Ein Flash TextField mit htmlText akzeptiert unter Linux keine Umlaute/div. Sonderzeichen:&lt;br&gt;&lt;br&gt;&lt;a href="http://bugs.adobe.com/jira/browse/FP-40" rel="noopener" target="_blank"&gt;http:/&lt;wbr/&gt;/&lt;wbr/&gt;bugs.adobe.com/&lt;wbr/&gt;jira/&lt;wbr/&gt;browse/&lt;wbr/&gt;FP-40&lt;/a&gt; &lt;br&gt;&lt;br&gt;Workaround / server-side:&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=code&gt;&lt;pre&gt;&#xD;
  function sanitize ( m : String ) : String&#xD;
  {&#xD;
    try {&#xD;
    trace(m);&#xD;
    // Linux @ fix, gets a 0x03 prepended:&#xD;
    m = StringTools.replace(m,String.fromCharCode(3),"");&#xD;
    // Linux ß fix, double encoding is incorrect&#xD;
    var f = StringTools.replace(m,String.fromCharCode(0xc3)+String.fromCharCode(0x83)+String.fromCharCode(0xc5)+String.fromCharCode(0xb8),String.fromCharCode(0xc3)+String.fromCharCode(0x83)+String.fromCharCode(0xc2)+String.fromCharCode(0x9f));&#xD;
    // Linux öäü fix, just normal double encoding&#xD;
    f = neko.Utf8.decode(f);&#xD;
    if (f.indexOf(String.fromCharCode(0xc3))) &amp;gt;= 0)&#xD;
    {&#xD;
      // double encoding =&amp;gt; return decoded string&#xD;
      // happens with linux&#xD;
      return f;&#xD;
    }&#xD;
    for (c in 0...f.length)&#xD;
      trace(f.charCodeAt(c));&#xD;
&#xD;
    } catch ( unknown : Dynamic )&#xD;
    {&#xD;
      trace ("Exception: "+Std.string(unknown));&#xD;
    }&#xD;
    return m;&#xD;
  }&#xD;
&#xD;
&lt;/pre&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br/&gt;</description>
      <pubDate>Sat, 29 Nov 2008 03:43:03 GMT</pubDate>
      <guid>http://forum.geizhals.at/t608123,5165710.html#5165710</guid>
      <dc:creator>mjy@geizhals.at</dc:creator>
      <dc:date>2008-11-29T03:43:03Z</dc:date>
    </item>
    <item>
      <title>haxe / neko / Adobe Flash Plugin for Linux UTF-8 TextField bug workaround...</title>
      <link>http://forum.geizhals.at/t608123,5165714.html#5165714</link>
      <description>Problem:&lt;br&gt;&lt;br&gt;Ein Flash TextField mit htmlText akzeptiert unter Linux keine Umlaute/div. Sonderzeichen:&lt;br&gt;&lt;br&gt;&lt;a href="http://bugs.adobe.com/jira/browse/FP-40" rel="noopener" target="_blank"&gt;http:/&lt;wbr/&gt;/&lt;wbr/&gt;bugs.adobe.com/&lt;wbr/&gt;jira/&lt;wbr/&gt;browse/&lt;wbr/&gt;FP-40&lt;/a&gt; &lt;br&gt;&lt;br&gt;Workaround / server-side für öäüß@ ... (TODO: µ, €)&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=code&gt;&lt;pre&gt;&#xD;
  function sanitize ( m : String ) : String&#xD;
  {&#xD;
    try {&#xD;
    trace(m);&#xD;
    // Linux @ fix, gets a 0x03 prepended:&#xD;
    m = StringTools.replace(m,String.fromCharCode(3),"");&#xD;
    // Linux ß fix, double encoding is incorrect&#xD;
    var f = StringTools.replace(m,String.fromCharCode(0xc3)+String.fromCharCode(0x83)+String.fromCharCode(0xc5)+String.fromCharCode(0xb8),String.fromCharCode(0xc3)+String.fromCharCode(0x83)+String.fromCharCode(0xc2)+String.fromCharCode(0x9f));&#xD;
    // Linux öäü fix, just normal double encoding&#xD;
    f = neko.Utf8.decode(f);&#xD;
    if (f.indexOf(String.fromCharCode(0xc3)) &amp;gt;= 0)  {&#xD;
      // double encoding =&amp;gt; return decoded string&#xD;
      // happens with linux&#xD;
      return f;&#xD;
    }&#xD;
   }&#xD;
   catch ( unknown : Dynamic )    {     trace ("Exception: "+Std.string(unknown));    }&#xD;
   return m;&#xD;
  }&#xD;
&#xD;
&lt;/pre&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br/&gt;</description>
      <pubDate>Sat, 29 Nov 2008 03:43:03 GMT</pubDate>
      <guid>http://forum.geizhals.at/t608123,5165714.html#5165714</guid>
      <dc:creator>mjy@geizhals.at</dc:creator>
      <dc:date>2008-11-29T03:43:03Z</dc:date>
    </item>
    <item>
      <title>haxe / neko / Adobe Flash Plugin for Linux UTF-8 TextField bug workaround...</title>
      <link>http://forum.geizhals.at/t608123,5165711.html#5165711</link>
      <description>Problem:&lt;br&gt;&lt;br&gt;Ein Flash TextField mit htmlText akzeptiert unter Linux keine Umlaute/div. Sonderzeichen:&lt;br&gt;&lt;br&gt;&lt;a href="http://bugs.adobe.com/jira/browse/FP-40" rel="noopener" target="_blank"&gt;http:/&lt;wbr/&gt;/&lt;wbr/&gt;bugs.adobe.com/&lt;wbr/&gt;jira/&lt;wbr/&gt;browse/&lt;wbr/&gt;FP-40&lt;/a&gt; &lt;br&gt;&lt;br&gt;Workaround / server-side:&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=code&gt;&lt;pre&gt;&#xD;
  function sanitize ( m : String ) : String&#xD;
  {&#xD;
    try {&#xD;
    trace(m);&#xD;
    // Linux @ fix, gets a 0x03 prepended:&#xD;
    m = StringTools.replace(m,String.fromCharCode(3),"");&#xD;
    // Linux ß fix, double encoding is incorrect&#xD;
    var f = StringTools.replace(m,String.fromCharCode(0xc3)+String.fromCharCode(0x83)+String.fromCharCode(0xc5)+String.fromCharCode(0xb8),String.fromCharCode(0xc3)+String.fromCharCode(0x83)+String.fromCharCode(0xc2)+String.fromCharCode(0x9f));&#xD;
    // Linux öäü fix, just normal double encoding&#xD;
    f = neko.Utf8.decode(f);&#xD;
    if (f.indexOf(String.fromCharCode(0xc3))) &amp;gt;= 0)&#xD;
    {&#xD;
      // double encoding =&amp;gt; return decoded string&#xD;
      // happens with linux&#xD;
      return f;&#xD;
    }&#xD;
   }&#xD;
   catch ( unknown : Dynamic )&#xD;
   {&#xD;
      trace ("Exception: "+Std.string(unknown));&#xD;
    }&#xD;
    return m;&#xD;
  }&#xD;
&#xD;
&lt;/pre&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br/&gt;</description>
      <pubDate>Sat, 29 Nov 2008 03:43:03 GMT</pubDate>
      <guid>http://forum.geizhals.at/t608123,5165711.html#5165711</guid>
      <dc:creator>mjy@geizhals.at</dc:creator>
      <dc:date>2008-11-29T03:43:03Z</dc:date>
    </item>
    <item>
      <title>haxe / neko / Adobe Flash Plugin for Linux UTF-8 TextField bug workaround...</title>
      <link>http://forum.geizhals.at/t608123,5165712.html#5165712</link>
      <description>Problem:&lt;br&gt;&lt;br&gt;Ein Flash TextField mit htmlText akzeptiert unter Linux keine Umlaute/div. Sonderzeichen:&lt;br&gt;&lt;br&gt;&lt;a href="http://bugs.adobe.com/jira/browse/FP-40" rel="noopener" target="_blank"&gt;http:/&lt;wbr/&gt;/&lt;wbr/&gt;bugs.adobe.com/&lt;wbr/&gt;jira/&lt;wbr/&gt;browse/&lt;wbr/&gt;FP-40&lt;/a&gt; &lt;br&gt;&lt;br&gt;Workaround / server-side für öäüß@ ... (TODO: µ, €)&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=code&gt;&lt;pre&gt;&#xD;
  function sanitize ( m : String ) : String&#xD;
  {&#xD;
    try {&#xD;
    trace(m);&#xD;
    // Linux @ fix, gets a 0x03 prepended:&#xD;
    m = StringTools.replace(m,String.fromCharCode(3),"");&#xD;
    // Linux ß fix, double encoding is incorrect&#xD;
    var f = StringTools.replace(m,String.fromCharCode(0xc3)+String.fromCharCode(0x83)+String.fromCharCode(0xc5)+String.fromCharCode(0xb8),String.fromCharCode(0xc3)+String.fromCharCode(0x83)+String.fromCharCode(0xc2)+String.fromCharCode(0x9f));&#xD;
    // Linux öäü fix, just normal double encoding&#xD;
    f = neko.Utf8.decode(f);&#xD;
    if (f.indexOf(String.fromCharCode(0xc3))) &amp;gt;= 0)  {&#xD;
      // double encoding =&amp;gt; return decoded string&#xD;
      // happens with linux&#xD;
      return f;&#xD;
    }&#xD;
   }&#xD;
   catch ( unknown : Dynamic )    {     trace ("Exception: "+Std.string(unknown));    }&#xD;
   return m;&#xD;
  }&#xD;
&#xD;
&lt;/pre&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br/&gt;</description>
      <pubDate>Sat, 29 Nov 2008 03:43:03 GMT</pubDate>
      <guid>http://forum.geizhals.at/t608123,5165712.html#5165712</guid>
      <dc:creator>mjy@geizhals.at</dc:creator>
      <dc:date>2008-11-29T03:43:03Z</dc:date>
    </item>
    <item>
      <title>haxe / neko / Adobe Flash Plugin for Linux UTF-8 TextField bug workaround...</title>
      <link>http://forum.geizhals.at/t608123,5165715.html#5165715</link>
      <description>Problem:&lt;br&gt;&lt;br&gt;Ein Flash TextField mit htmlText akzeptiert unter Linux keine Umlaute/div. Sonderzeichen:&lt;br&gt;&lt;br&gt;&lt;a href="http://bugs.adobe.com/jira/browse/FP-40" rel="noopener" target="_blank"&gt;http:/&lt;wbr/&gt;/&lt;wbr/&gt;bugs.adobe.com/&lt;wbr/&gt;jira/&lt;wbr/&gt;browse/&lt;wbr/&gt;FP-40&lt;/a&gt; &lt;br&gt;&lt;br&gt;Workaround / server-side für öäüß@ ... (TODO: µ, €)&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=code&gt;&lt;pre&gt;&#xD;
  function sanitize ( m : String ) : String&#xD;
  {&#xD;
    try {&#xD;
    // Linux @ fix, gets a 0x03 prepended:&#xD;
    m = StringTools.replace(m,String.fromCharCode(3),"");&#xD;
    // Linux ß fix, double encoding is incorrect&#xD;
    var f = StringTools.replace(m,String.fromCharCode(0xc3)+String.fromCharCode(0x83)+String.fromCharCode(0xc5)+String.fromCharCode(0xb8),String.fromCharCode(0xc3)+String.fromCharCode(0x83)+String.fromCharCode(0xc2)+String.fromCharCode(0x9f));&#xD;
    // Linux öäü fix, just normal double encoding&#xD;
    f = neko.Utf8.decode(f);&#xD;
    if (f.indexOf(String.fromCharCode(0xc3)) &amp;gt;= 0)  {&#xD;
      // double encoding =&amp;gt; return decoded string&#xD;
      // happens with linux&#xD;
      return f;&#xD;
    }&#xD;
   }&#xD;
   catch ( unknown : Dynamic )    {     trace ("Exception: "+Std.string(unknown));    }&#xD;
   return m;&#xD;
  }&#xD;
&#xD;
&lt;/pre&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br/&gt;</description>
      <pubDate>Sat, 29 Nov 2008 03:43:03 GMT</pubDate>
      <guid>http://forum.geizhals.at/t608123,5165715.html#5165715</guid>
      <dc:creator>mjy@geizhals.at</dc:creator>
      <dc:date>2008-11-29T03:43:03Z</dc:date>
    </item>
  </channel>
</rss>
