Does it mean that regardless of the old format or the page store format, both of them are neither utf-8 nor base64 ?
I was wondering since the old format is already 'out of support', you could release some hints about it. I have revised the 'one-to-one' conversion plan in a way that all I need is to know the encodings of the old format, extract data from the old data formats and convert into sql format and now all the user needs is to use the current page store H2 to read in the sql format. This is even more lightweight then a the old 'one-to-one' conversion since I don't really need to write a full fledge file converter but rely on the page store H2 to read in the sql format. Could you hint which part of the old h2 format source file should I look into to look for the encoding of the old h2 format ? This hint would be good enough so I don't need to 'walk-through' so much codes just to understand the old H2 format. I was thinking, since you are busy with the main H2 development, why not allow some of us whoever that is interested to get down and make a more efficient converter for the H2 file formats ? On Jul 14, 1:29 am, Thomas Mueller <[email protected]> wrote: > Hi, > > > Hi. May I know what is the encoding format (utf 8 ? base 64 ?) for the > > old 1.1.119 (non-page store) database and the current page store. > > The file format is internal to H2 and not relevant for the > application. You can store and read any Java string without losing > data, that's all you need to know as a user of H2. That said, the > internal encoding is not UTF-8 and not Base64, but it's relatively > close to UTF-8. For details, see Data.java. > > At some point I do plan to fully document the (current) file format, > but currently I believe it's not required / needed yet. > > > 'one-to-one' database migration tool > > That would be very complicated I'm afraid. The hard part is reading > the transaction log and apply changes in the data file. I don't think > it would be worth it. If you want to do it, you are on your own. I > will not be able to help you. > > Regards, > Thomas -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
