Unicode in VOTable

Dave Morris dave.morris at metagrid.co.uk
Thu Oct 16 02:00:28 CEST 2014


On 2014-10-15 22:55, Dave Morris wrote:
> 
> P3 does not work.
> 

Ok, a bit more investigation shows that on PostgreSQL, under certain 
conditions, it *is* possible to calculate the number of bytes required 
for a string column encoded in UTF-8.

http://wiki.ivoa.net/twiki/bin/view/IVOA/VOTableUnicode20141016

However, it is fragile, it depends on the data in each row, it requires 
scanning the entire data set before generating the headers, and it 
probably wouldn't work on other database platforms.

Dave

--------
Dave Morris
Software Developer
Wide Field Astronomy Unit
Institute for Astronomy
University of Edinburgh
--------



More information about the apps mailing list