version 1.1.1.1, 2012/02/21 22:57:49
|
version 1.1.1.2, 2012/05/29 09:29:44
|
Line 1
|
Line 1
|
/* Copyright (C) 1999-2004, 2006-2007 Free Software Foundation, Inc. | /* Copyright (C) 1999-2004, 2006-2007, 2010 Free Software Foundation, Inc. |
This file is part of the GNU LIBICONV Tools. |
This file is part of the GNU LIBICONV Tools. |
|
|
This program is free software: you can redistribute it and/or modify |
This program is free software: you can redistribute it and/or modify |
Line 76 typedef struct {
|
Line 76 typedef struct {
|
static void output_title (const char *charsetname) |
static void output_title (const char *charsetname) |
{ |
{ |
printf("/*\n"); |
printf("/*\n"); |
printf(" * Copyright (C) 1999-2007 Free Software Foundation, Inc.\n"); | printf(" * Copyright (C) 1999-2010 Free Software Foundation, Inc.\n"); |
printf(" * This file is part of the GNU LIBICONV Library.\n"); |
printf(" * This file is part of the GNU LIBICONV Library.\n"); |
printf(" *\n"); |
printf(" *\n"); |
printf(" * The GNU LIBICONV Library is free software; you can redistribute it\n"); |
printf(" * The GNU LIBICONV Library is free software; you can redistribute it\n"); |
Line 1821 static void do_jisx0213 (const char* name)
|
Line 1821 static void do_jisx0213 (const char* name)
|
if ((count % 8) == 0) printf(" "); |
if ((count % 8) == 0) printf(" "); |
printf(" "); |
printf(" "); |
sprintf(buf,"0x%04x",pagestart[i]); |
sprintf(buf,"0x%04x",pagestart[i]); |
if (strlen(buf) < 7) printf("%*s",7-strlen(buf),""); | if (strlen(buf) < 7) printf("%*s",(int)(7-strlen(buf)),""); |
printf("%s,",buf); |
printf("%s,",buf); |
count++; |
count++; |
if ((count % 8) == 0) printf("\n"); |
if ((count % 8) == 0) printf("\n"); |
Line 2131 int main (int argc, char *argv[])
|
Line 2131 int main (int argc, char *argv[])
|
else if (!strcmp(name,"big5") || !strcmp(name,"cp950ext")) |
else if (!strcmp(name,"big5") || !strcmp(name,"cp950ext")) |
do_big5(name); |
do_big5(name); |
else if (!strcmp(name,"hkscs1999") || !strcmp(name,"hkscs2001") |
else if (!strcmp(name,"hkscs1999") || !strcmp(name,"hkscs2001") |
|| !strcmp(name,"hkscs2004")) | || !strcmp(name,"hkscs2004") || !strcmp(name,"hkscs2008")) |
do_hkscs(name); |
do_hkscs(name); |
else if (!strcmp(name,"johab_hangul")) |
else if (!strcmp(name,"johab_hangul")) |
do_johab_hangul(name); |
do_johab_hangul(name); |