* Returns the display length of the character beginning at s, using the * specified encoding. */
| 1313 | * specified encoding. |
| 1314 | */ |
| 1315 | int |
| 1316 | PQdsplen(const char *s, int encoding) |
| 1317 | { |
| 1318 | return pg_encoding_dsplen(encoding, s); |
| 1319 | } |
| 1320 | |
| 1321 | /* |
| 1322 | * Get encoding id from environment variable PGCLIENTENCODING. |
no test coverage detected