cave-story-solaris/DoConfig/fltk/src/xutf8/ucs2fontmap.c.mini
2019-05-02 18:20:47 +01:00

37 lines
751 B
Text

/* "$Id: $"
*
* Author: Jean-Marc Lienher ( http://oksid.ch )
* Copyright 2000-2003 by O'ksi'D.
*
* This library is free software. Distribution and use rights are outlined in
* the file "COPYING" which should have been included with this file. If this
* file is missing or damaged, see the license at:
*
* http://www.fltk.org/COPYING.php
*
* Please report all bugs and problems on the following page:
*
* http://www.fltk.org/str.php
*/
int ucs2fontmap(char *s, unsigned long ucs, int enc)
{
s[0] = (char) ((ucs & 0xFF00) >> 8);
s[1] = (char) (ucs & 0xFF);
return 0;
}
int encoding_number(const char *enc)
{
return 0;
}
const char *encoding_name(int num)
{
return "iso10646-1";
};
/*
* End of "$Id$".
*/