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