I did some copy/paste from the recipepage to illustrate. It is only a problem in the title

Arroz de Entrecosto à Ribatejana

Submitted by admin on Mon, 10/17/2011 - 20:53
Summary
Yield
Servings

Source admin
Prep time
30 minutes
Cooking time
30 minutes
Total time
1 hour
Description
Arroz de Entrecosto à Ribatejana imported from Recipe Import

Ingredients
1 banha colher sopa
5 alho dentes
300 gramarroz
1 dropcebola grande, picada
750 gramentrecosto
200 gramervilhas des-cascadas
1 louro folha
massa de pimentão chavena
1 salsa ramo
1 vinho branco chavena
Instructions
o dobro do volume do arroz em água quente, isto é, por cada medida de arroz duas de água quente.
Para decorar: gomos de limão e azeitonas.

Comments

coyo’s picture

Only seem to happen when importing (recipeML in this case).
If I edit and paste the extended directly into the title field, it shows fine.

The xml has all extended characters in code (chouriço).
After import the recipe looks fine, except the title which has the codes in it.
When I edit the recipe, the original codes are present throughout the ingredients and instruction.

So it seems that there is not a consistent way extended characters are displayed.

dcam’s picture

Issue summary: View changes
Status: Active » Closed (cannot reproduce)

I'm unable to reproduce this issue. I've tested importing encoded characters on both the 1.x and 2.x branches. All characters are decoded on import now. I don't know if this was patched in Recipe at some point (I doubt it since I don't see any calls to decode_entities()) or patched in core. Either way, it seems to be fixed.