Definition at line 302 of file shpcommon.c.
303{
304 int cpglen;
305 int is_ldid = 0;
306 int num, i;
307
308
309 if ( ! cpg ) return NULL;
310
311
312
313 cpglen = strlen(cpg);
314 if ( strstr(cpg, "LDID/") )
315 {
316 if ( cpglen > 5 )
317 {
318 cpg += 5;
319 is_ldid = 1;
320 }
321 else
322 {
323 return NULL;
324 }
325 }
326
327
328 num = atoi(cpg);
329
330
332 {
333 if ( is_ldid )
334 {
337 }
338 else
339 {
342 }
343 }
344
345
346 return NULL;
347
348}
static int num_code_pages
static code_page_entry code_pages[]
References code_pages, and num_code_pages.
Referenced by ShpLoaderOpenShape().