Definition at line 288 of file shpcommon.c.
289{
290 int cpglen;
291 int is_ldid = 0;
292 int num, i;
293
294
295 if ( ! cpg ) return NULL;
296
297
298
299 cpglen = strlen(cpg);
300 if ( strstr(cpg, "LDID/") )
301 {
302 if ( cpglen > 5 )
303 {
304 cpg += 5;
305 is_ldid = 1;
306 }
307 else
308 {
309 return NULL;
310 }
311 }
312
313
314 num = atoi(cpg);
315
316
318 {
319 if ( is_ldid )
320 {
323 }
324 else
325 {
328 }
329 }
330
331
332 return NULL;
333
334}
static int num_code_pages
static code_page_entry code_pages[]
References code_pages, and num_code_pages.
Referenced by ShpLoaderOpenShape().