Ruby Forum wxRuby > german umlauts

Posted by Irlweg, Franz (ZNT) (Guest)
on 22.07.2008 10:12
(Received via mailing list)
Hi all,

my wxruby application handles with data from a Oracle database. But i 
have problems with the german umlauts (ä,ö,ü).
I can write data to the database, but when i'm reading the data from the 
database, the application doesn't show the text.

The application is running on a windows pc.
Should i set some Locale .. ?

Thanks in advance,
Franz
</PRE><html><P><SPAN style="FONT-SIZE: 8pt"><FONT color=#000000><FONT 
face=Arial>
This communication and any files or attachments transmitted with it may 
contain information that is copyrighted or confidential and exempt from 
<br>  disclosure under applicable law. It is intended solely for the use 
of the individual or the entity to which it is addressed. <br>
If you are not the intended recipient, you are hereby notified that any 
use, dissemination, or copying of this communication is strictly 
prohibited. <br>
If you have received this communication in error, please notify us at 
once so that we may take the appropriate action and avoid troubling you 
further. <br>
Thank you for your cooperation. Please contact your local IT staff or 
email <a 
href="mailto:info@siltronic.com?subject=Disclaimer">info@siltronic.com</a> 
if you need assistance.
<br>&nbsp;<br>
Siltronic AG, Sitz M&uuml;nchen, Hanns-Seidel-Platz 4, 81737 
M&uuml;nchen, Germany. Amtsgericht M&uuml;nchen HRB 150884
<br>
Vorstand: Wilhelm Sittenthaler (Vorsitz), Gerhard Brehm, Paul Lindblad, 
Joachim Manke, Michael Peterat. Vorsitzender des Aufsichtsrats: 
Peter-Alexander Wacker
</FONT></FONT></SPAN></P></html>
Posted by Mario Steele (Guest)
on 22.07.2008 10:37
(Received via mailing list)
I believe that Oracle needs an encoding for Text Data, just like MySQL
does.  You would need to reference the documentation for your database 
back
end, in order to correctly set the encoding options for your data.

On Tue, Jul 22, 2008 at 3:07 AM, Irlweg, Franz (ZNT) <
Posted by Irlweg, Franz (ZNT) (Guest)
on 24.07.2008 08:26
(Received via mailing list)
Hi Mario,

could you send me a code snippet with the encoding settings for MYSQL?

Franz


________________________________

  From: wxruby-users-bounces@rubyforge.org 
[mailto:wxruby-users-bounces@rubyforge.org] On Behalf Of Mario Steele
  Sent: Tuesday, July 22, 2008 10:36 AM
  To: General discussion of wxRuby
  Subject: Re: [wxruby-users] german umlauts


  I believe that Oracle needs an encoding for Text Data, just like MySQL 
does.  You would need to reference the documentation for your database 
back end, in order to correctly set the encoding options for your data.


  On Tue, Jul 22, 2008 at 3:07 AM, Irlweg, Franz (ZNT) 
<Franz.Irlweg.ZNT@wacker.com> wrote:


    Hi all,

    my wxruby application handles with data from a Oracle database. But 
i have problems with the german umlauts (ä,ö,ü).
    I can write data to the database, but when i'm reading the data from 
the database, the application doesn't show the text.

    The application is running on a windows pc.
    Should i set some Locale .. ?

    Thanks in advance,
    Franz



    This communication and any files or attachments transmitted with it 
may contain information that is copyrighted or confidential and exempt 
from
    disclosure under applicable law. It is intended solely for the use 
of the individual or the entity to which it is addressed.
    If you are not the intended recipient, you are hereby notified that 
any use, dissemination, or copying of this communication is strictly 
prohibited.
    If you have received this communication in error, please notify us 
at once so that we may take the appropriate action and avoid troubling 
you further.
    Thank you for your cooperation. Please contact your local IT staff 
or email info@siltronic.com 
<mailto:info@siltronic.com?subject=Disclaimer>  if you need assistance.

    Siltronic AG, Sitz München, Hanns-Seidel-Platz 4, 81737 München, 
Germany. Amtsgericht München HRB 150884
    Vorstand: Wilhelm Sittenthaler (Vorsitz), Gerhard Brehm, Paul 
Lindblad, Joachim Manke, Michael Peterat. Vorsitzender des 
Aufsichtsrats: Peter-Alexander Wacker


    _______________________________________________
    wxruby-users mailing list
    wxruby-users@rubyforge.org
    http://rubyforge.org/mailman/listinfo/wxruby-users





  --
  Mario Steele
  http://www.trilake.net
  http://www.ruby-im.net
  http://rubyforge.org/projects/wxruby/
  http://rubyforge.org/projects/wxride/

</PRE><html><P><SPAN style="FONT-SIZE: 8pt"><FONT color=#000000><FONT 
face=Arial>
This communication and any files or attachments transmitted with it may 
contain information that is copyrighted or confidential and exempt from 
<br>  disclosure under applicable law. It is intended solely for the use 
of the individual or the entity to which it is addressed. <br>
If you are not the intended recipient, you are hereby notified that any 
use, dissemination, or copying of this communication is strictly 
prohibited. <br>
If you have received this communication in error, please notify us at 
once so that we may take the appropriate action and avoid troubling you 
further. <br>
Thank you for your cooperation. Please contact your local IT staff or 
email <a 
href="mailto:info@siltronic.com?subject=Disclaimer">info@siltronic.com</a> 
if you need assistance.
<br>&nbsp;<br>
Siltronic AG, Sitz M&uuml;nchen, Hanns-Seidel-Platz 4, 81737 
M&uuml;nchen, Germany. Amtsgericht M&uuml;nchen HRB 150884
<br>
Vorstand: Wilhelm Sittenthaler (Vorsitz), Gerhard Brehm, Paul Lindblad, 
Joachim Manke, Michael Peterat. Vorsitzender des Aufsichtsrats: 
Peter-Alexander Wacker
</FONT></FONT></SPAN></P></html>