Lines 312-317
Link Here
|
312 |
case 9830: pStr = sHTML_S_diams; break; |
312 |
case 9830: pStr = sHTML_S_diams; break; |
313 |
} |
313 |
} |
314 |
|
314 |
|
|
|
315 |
|
316 |
// No entities please in Latin-2 html |
317 |
if( pStr && ( eDestEnc == RTL_TEXTENCODING_ISO_8859_2 || eDestEnc == RTL_TEXTENCODING_MS_1250 )) |
318 |
{ |
319 |
if( !strcmp( pStr,"iacute" ) || |
320 |
!strcmp( pStr,"Iacute" ) || |
321 |
!strcmp( pStr,"yacute" ) || |
322 |
!strcmp( pStr,"Yacute" ) || |
323 |
!strcmp( pStr,"uuml" ) || |
324 |
!strcmp( pStr,"Uuml" ) || |
325 |
!strcmp( pStr,"ouml" ) || |
326 |
!strcmp( pStr,"Ouml" ) || |
327 |
!strcmp( pStr,"euml" ) || |
328 |
!strcmp( pStr,"Euml" ) || |
329 |
!strcmp( pStr,"auml" ) || |
330 |
!strcmp( pStr,"Auml" ) || |
331 |
!strcmp( pStr,"acirc" ) || |
332 |
!strcmp( pStr,"Acirc" ) || |
333 |
!strcmp( pStr,"ocirc" ) || |
334 |
!strcmp( pStr,"Ocirc" ) || |
335 |
!strcmp( pStr,"icirc" ) || |
336 |
!strcmp( pStr,"Icirc" ) || |
337 |
!strcmp( pStr,"ccedil" ) || |
338 |
!strcmp( pStr,"Ccedil" ) || |
339 |
!strcmp( pStr,"aacute" ) || |
340 |
!strcmp( pStr,"Aacute" ) || |
341 |
!strcmp( pStr,"eacute" ) || |
342 |
!strcmp( pStr,"Eacute" ) || |
343 |
!strcmp( pStr,"oacute" ) || |
344 |
!strcmp( pStr,"Oacute" ) || |
345 |
!strcmp( pStr,"scaron" ) || |
346 |
!strcmp( pStr,"Scaron" ) || |
347 |
!strcmp( pStr,"uacute" ) || |
348 |
!strcmp( pStr,"Uacute" ) || |
349 |
!strcmp( pStr,"divide" ) || |
350 |
!strcmp( pStr,"curren" ) || |
351 |
!strcmp( pStr,"times" ) || |
352 |
!strcmp( pStr,"szlig" )) pStr = 0; |
353 |
} |
354 |
|
355 |
|
315 |
// Greek chars: if we do not produce a Greek encoding, |
356 |
// Greek chars: if we do not produce a Greek encoding, |
316 |
// transform them into entities |
357 |
// transform them into entities |
317 |
if( !pStr && |
358 |
if( !pStr && |