Commit 6bf876d
committed
broker: initialize locale
Problem: The broker does not initialize the current locale
from the environment, so it may default to an ASCII-only locale
(e.g. ANSI_X3.4-1968).
Call
setlocale (LC_ALL, "");
first thing in main() to ensure the locale is properly initialized
from the current environment.1 parent 1f13a17 commit 6bf876d
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
204 | 205 | | |
205 | 206 | | |
206 | 207 | | |
| 208 | + | |
| 209 | + | |
207 | 210 | | |
208 | 211 | | |
209 | 212 | | |
| |||
0 commit comments