All lines of code String::from_utf8(output.stdout).unwrap() in pgrx-pg-config cause a panic if Windows uses a non utf-8 code page, e.g. Cyrillic Windows uses 866.
Possible solutions:
- Use
from_utf8_lossy
- Add additional step in Getting Started for Windows: Using UTF-8 in the Windows Terminal
All lines of code
String::from_utf8(output.stdout).unwrap()in pgrx-pg-config cause a panic if Windows uses a non utf-8 code page, e.g. Cyrillic Windows uses 866.Possible solutions:
from_utf8_lossy