Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
testmessage should test Unicode strings.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Dec 8, 2012
1 parent d975a7a commit 90f4cb1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/testmessage.c
Expand Up @@ -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[] = {
{
Expand Down

0 comments on commit 90f4cb1

Please sign in to comment.