FreeBSD Bugzilla – Attachment 218568 Details for
Bug 250163
iswprint wrong for NO-BREAK SPACE
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
test code example
file_250163.txt (text/plain), 2.84 KB, created by
Marko Turk
on 2020-10-06 18:05:02 UTC
(
hide
)
Description:
test code example
Filename:
MIME Type:
Creator:
Marko Turk
Created:
2020-10-06 18:05:02 UTC
Size:
2.84 KB
patch
obsolete
>#include <string.h> >#include <stdlib.h> >#include <stdio.h> > >#include <langinfo.h> >#include <locale.h> >#include <wctype.h> > >int main() >{ > setlocale(LC_CTYPE, ""); > setlocale(LC_MESSAGES, ""); > > wchar_t somespace = L'\u00a0'; > > if (iswprint(somespace)) > printf("yes\n"); > else > printf("no\n"); > > return 0; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 250163
: 218568