Closed Realiserad closed 2 years ago
Fix the error "unmappable character (0xE2) for encoding US-ASCII" when building on ubuntu:latest
To reproduce:
> docker run -it ubuntu:latest /bin/bash ubuntu> apt update ubuntu> apt install maven git -y ubuntu> git clone https://github.com/Keyfactor/ejbca-easy-rest-client.git ubuntu> cd ejbca-easy-rest-client ubuntu> mvn clean package ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /ejbca-easy-rest-client/src/main/java/com/keyfactor/ejbca/client/enroll/EnrollGenKeysCommand.java:[68,12] error: unmappable character (0xE2) for encoding US-ASCII [ERROR] /ejbca-easy-rest-client/src/main/java/com/keyfactor/ejbca/client/enroll/EnrollGenKeysCommand.java:[68,13] error: unmappable character (0x80) for encoding US-ASCII [ERROR] /ejbca-easy-rest-client/src/main/java/com/keyfactor/ejbca/client/enroll/EnrollGenKeysCommand.java:[68,14] error: unmappable character (0x93) for encoding US-ASCII [INFO] 3 errors
Ah, thanks for that one! Goddamn US-ASCII not supporting EM Dash.
Fix the error "unmappable character (0xE2) for encoding US-ASCII" when building on ubuntu:latest
To reproduce: