forked from loafle/openapi-generator-original
This commit is contained in:
parent
9bb58d2040
commit
af4319015e
@ -56,7 +56,7 @@ public abstract class AbstractGenerator {
|
|||||||
if (is == null) {
|
if (is == null) {
|
||||||
is = new FileInputStream(new File(name)); // May throw but never return a null value
|
is = new FileInputStream(new File(name)); // May throw but never return a null value
|
||||||
}
|
}
|
||||||
return new InputStreamReader(is);
|
return new InputStreamReader(is, "UTF-8");
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
LOGGER.error(e.getMessage());
|
LOGGER.error(e.getMessage());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user