List:Internals« Previous MessageNext Message »
From:Sergei Golubchik Date:June 10 2005 7:46am
Subject:Re: Text Encoding
View as plain text  
Hi!

On Jun 09, Hagen H?pfner wrote:
> Dear list,
> 
> i currently try to understand some MySQL internas. However, I am 
> wondering about the text encoding. I created a table while using latin1 
> and another while using utf8 on a windoof-machine. Then I inserted the 
> value "abäöüß" that includes special German characters. If I now
> look 
> into the MYD-file with a hex-editor, both tables include the same Bytes. 
> Does MySQL internally use a default encoding? If so, which one is used 
> internally. While looking at a standard ASCII-table one can recognize, 
> that "a" and "b" is standard latin1 (61 and 62) but "äöüß" ist
> something 
> else.

No, MySQL does not use default encoding internally.
Check table definitions with 'SHOW CREATE TABLE'.
 
Regards,
Sergei

-- 
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /   Sergei Golubchik <serg@stripped>
 / /|_/ / // /\ \/ /_/ / /__  MySQL AB, Senior Software Developer
/_/  /_/\_, /___/\___\_\___/  Osnabrueck, Germany
       <___/  www.mysql.com
Thread
Text EncodingHagen Höpfner9 Jun
  • Re: Text EncodingSergei Golubchik10 Jun
    • Re: Text EncodingHagen Höpfner10 Jun
      • Re: Text EncodingSergei Golubchik10 Jun
        • Re: Text EncodingHagen Höpfner10 Jun
          • Re: Text EncodingSergei Golubchik10 Jun
            • Re: Text EncodingOlaf van der Spek10 Jun
              • Re: Text EncodingSergei Golubchik11 Jun