FW: How to parse number from IO buffer based on locale?
unlvsur unlvsur
unlvsur@live.com
Sun Jan 17 12:50:30 GMT 2021
From: unlvsur unlvsur<mailto:unlvsur@live.com>
Sent: Sunday, January 17, 2021 07:49
To: libc-help@sourceware.org<mailto:libc-help@sourceware.org>
Subject: How to parse number from IO buffer based on locale?
Has POSIX ever mentioned how to do this in a standard form? Particularly, if decimal point/decimal seperators are multibytes like wae_CH, or space, what kind of behavior it should behave?
Parsing multibytes decimal point like ’ will end up corruption io buffer.
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
More information about the Libstdc++
mailing list