Code Duplication    Length = 2-2 lines in 2 locations

ecrire/inc/charsets.php 2 locations

@@ 428-429 (lines=2) @@
425
					}
426
				}
427
			}
428
			if (count($trans[$charset])) {
429
				return str_replace(array_keys($trans[$charset]), array_values($trans[$charset]), $texte);
430
			}
431
432
			// Sinon demander a iconv (malgre le fait qu'il coupe quand un
@@ 543-544 (lines=2) @@
540
				}
541
			}
542
		}
543
		if (count($trans[$charset])) {
544
			return str_replace(array_keys($trans[$charset]), array_values($trans[$charset]), $texte);
545
		}
546
547
		return $texte;