Chris Browet wrote: > UTF16 is just the default for Qt strings ;-) wchar* is UTF16, too. There > definitely are UTF characters used, so char* is probably too > restrictive, unless you handle UTF yourself.
But like char* utfX is terminated by \0 too right? And is backwards compatible? > ATM, my region size is ~1 km², which creates files, strings included, of > 500kb to 1Mb. Decision is to be made whether it is useful to handle > diffs rather than downloading the full region. > Obviously, if the goal is to have a full up-to-date planet, this is not > viable. It is manageable this way up to the state/province level, I think. True. > - Use separate files for strings and indices. > > > Problem with this is that you will have one huge string file (if that's > what you mean), which will have to be loaded in memory mmaping this file the memory allows the OS to make that decision. Stefan _______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

