MySQL Lists are EOL. Please join:

List:General Discussion« Previous MessageNext Message »
From:Karima Velasquez Date:August 15 2005 6:48pm
Subject:character encoding
View as plain text  
hello...

i'm having some troubles storing data in mysql and thought you can help, 
here is my problem:

i'm capturing raw audio/video data and want to store it into mysql. in my 
c++ program i create the query to do this, i use sprintf to create this 
query using %s format for the printing.

using PTRACE, i print the query and the data is ok. but, when i connect to 
the database, the data is wrong. i know this because i create a wav file at 
the same time that the data is inserted in the database; i can play this wav 
file, it is ok. the data in the wav file and the data in the database does 
not match!

i've been reading about the character set/collate in mysql, but don´t know 
which one should i use. does anybody know?

thanks for any reply...

best regards,
karima

Thread
character encodingKarima Velasquez15 Aug
  • Re: character encodingWarren Young15 Aug
    • Re: character encodingKarima Velasquez15 Aug
      • Re: character encodingWarren Young15 Aug
        • Re: character encodingKarima Velasquez15 Aug
          • Re: character encodingWarren Young15 Aug
            • Re: character encodingKarima Velasquez16 Aug
              • Re: character encodingWarren Young16 Aug
                • Re: character encodingKarima Velasquez17 Aug
                  • Re: character encodingJasper Bryant-Greene17 Aug