Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
testmessage should test Unicode strings.
  • Loading branch information
icculus committed Dec 8, 2012
1 parent d975a7a commit 90f4cb168939b4ae191ad30736ead438a75876ba
Showing with 10 additions and 0 deletions.
  1. +10 −0 test/testmessage.c
@@ -49,6 +49,16 @@ main(int argc, char *argv[])
quit(1);
}

/* Google says this is Traditional Chinese for "beef with broccoli" */
success = SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR,
"UTF-8 Simple MessageBox",
"Unicode text: '牛肉西蘭花' ...",
NULL);
if (success == -1) {
printf("Error Presenting MessageBox: %s\n", SDL_GetError());
quit(1);
}

{
const SDL_MessageBoxButtonData buttons[] = {
{

0 comments on commit 90f4cb1

Please sign in to comment.