FreeBSD Bugzilla – Attachment 145998 Details for
Bug 192783
x11/slim does not support UTF-8 characters input
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
util.h patch
patch-util.h (text/plain), 623 bytes, created by
DaLynX
on 2014-08-18 18:49:13 UTC
(
hide
)
Description:
util.h patch
Filename:
MIME Type:
Creator:
DaLynX
Created:
2014-08-18 18:49:13 UTC
Size:
623 bytes
patch
obsolete
>--- util.h.orig 2014-08-12 18:08:28.000000000 +0200 >+++ util.h 2014-08-12 18:09:20.000000000 +0200 >@@ -10,6 +10,7 @@ > #define _UTIL_H__ > > #include <string> >+#include <stdint.h> > > namespace Util { > bool add_mcookie(const std::string &mcookie, const char *display, >@@ -19,6 +20,10 @@ > long random(void); > > long makeseed(void); >+ int utf8ToUtf16(const char *utf8, const int utf8_length, >+ uint16_t *utf16, const int utf16_max_length); >+ bool utf16EqualToAscii(const char *ascii, uint16_t *utf16, int utf16Len); >+ std::string utf16BufToUtf8String(const uint16_t *utf16Buf, int utf16Len); > } > > #endif /* _UTIL_H__ */
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 192783
:
145959
|
145990
|
145992
|
145993
|
145994
|
145995
|
145996
|
145997
|
145998
|
146000
|
146003
|
146476