Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

PRUnichar

An unsigned 16-bit type, like char in Java or the "characters" of a JavaScript string defined in /mozilla/xpcom/base/nscore.h.

Syntax

#if defined(NS_WIN32)
  typedef wchar_t PRUnichar;
#else
  typedef PRUInt16 PRUnichar;
#endif

Document Tags and Contributors

 Contributors to this page: teoli, Jorend, Kennyluck
 Last updated by: teoli,