<div dir="ltr"><div><div><div><div><div><div><div><div>Hello list,<br><br></div>I came across an error using st_bandpath,<br></div>When using PostgreSQL binary output format, executing the function on<br></div>rasters registered with UNC paths fails with error message :<br><br>"22021: invalid byte sequence for encoding « WIN1252 » : 0x00"<br><br></div><div>When using Text mode, the functions works correctly.<br><br></div><div>My guess is that the first character of a UNC path which is a<br></div><div>backslash is considered as an escape sequence.<br></div><div>But it seems you can't escape the first two backslashes when <br></div><div>using raster2pgsql (tried \\\\, /\/\ and doublequoted path and<br></div><div>every combination of these three).<br></div><div><br></div>My configuration : <br>Windows 7<br></div>Postgres 9.3.5<br></div>Postgis 2.1.3<br></div>Database using WIN1252 Encoding and French_France.1252 collate.<br><br></div></div>