printf("static PRUint8 %sMap [128] = {\n",name);
printf("static const PRUint8 %sMap [128] = {\n",name);
void genCyrillicClass(const char* name, const char* charset){   nsIUnicodeDecoder *decoder = nsnull;   nsresult res = NS_OK;   nsAutoString str(charset);   res = gCCM->GetUnicodeDecoder(&str, &decoder);   if(NS_FAILED(res))   {      printf("cannot locate %s Decoder\n", charset);      return;   }   printf("static PRUint8 %sMap [128] = {\n",name);   PRUint8 i,j;   for(i=0x80;i!=0x00;i+=0x10)   {     for(j=0;j<=0x0f;j++)     {        PRUint8 cls = CyrillicClass(decoder, i+j);        printf(" %2d, ",cls);     }     printf("\n");   }   printf("};\n");   NS_IF_RELEASE(decoder);}