Yes hyperlink with anchor work with (%id="mycustomid"%) but not the include 
section function.

Then the problem is the include instruction: it didn't work if the id is not 
Hxxxxx?

My test:

I have 2 pages:

My master page

---------
Test d'include
fille

{{include document="fille" section="Htitre1"/}}

this include working well


{{include document="fille" section="mycustomid"/}}
this include doesn't work


My child page

---------= titre 1 =
bla bla titre
source is id=Htitre1

(%id="mycustomid"%)
= Level1 - Séct-io'n 4 =
Bla bla Séct-io'n 4
source is id=mycustomid

= titre 2 =
blabla 2





________________________________
 De : Thomas Mortagne <[email protected]>
À : Pascal BASTIEN <[email protected]>; XWiki Users <[email protected]> 
Cc : Jean SIMARD <[email protected]> 
Envoyé le : Mercredi 28 mai 2014 17h48
Objet : Re: [xwiki-users] include problem with french characters
 

Actually this is already working, just not using the right syntax :)

(%id="mycustomid"%)
= Level1 - Séct-io'n 4 =


On Wed, May 28, 2014 at 5:47 PM, Thomas Mortagne
<[email protected]> wrote:
> Something we could do is allowing to customize the id (and not
> generate one in this case) like in:
>
> (%id="mycustomid"%)= Level1 - Séct-io'n 4 =
>
>
> On Wed, May 28, 2014 at 5:33 PM, Pascal BASTIEN <[email protected]> 
> wrote:
>> I already read (and apply) the encoding instruction (for the search forms). 
>> Thxs anyway
>>
>>
>> The problem is the automatic section creation with title 1, 2 etc.
>>
>> If I look the source of a section with firebug, it display this anchor:
>> <h1 id="HLevel1-SE9ct-io27n4">
>> <span>Level1 - Séct-io'n 4</span>
>> </h1>
>>
>>
>>
>>
>> ________________________________
>>  De : Jean SIMARD <[email protected]>
>> À : Pascal BASTIEN <[email protected]>; XWiki Users <[email protected]>
>> Envoyé le : Mercredi 28 mai 2014 16h51
>> Objet : Re: [xwiki-users] include problem with french characters
>>
>>
>> Hi Bastien,
>>
>> You shouldn't have problems with French characters.  Maybe it's only a
>> matter of configuration of your wiki?  Did you look the following page?
>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Encoding
>>
>> Sincerely,
>> --
>> Jean
>>
>>
>>
>> On mer., 2014-05-28 at 13:43 +0100, Pascal BASTIEN wrote:
>>> Hello,
>>>
>>> The include function is to hard to use with some non-us  character like 
>>> french: éèà'ç ...
>>>
>>>
>>> By example, I have a document with this section:
>>>
>>> = Level1 - Séct-io'n 4 =
>>>
>>> Bla bla
>>>
>>> if I want to include this section: "Level1 - Séct-io'n 4"  I must use this 
>>> include
>>> {{include reference="Pagefille2" section="HLevel1-SE9ct-io27n4"/}}
>>>
>>> I must replace special character with unicode code:
>>> http://www.utf8-chartable.de/
>>>
>>> I can use another way?
>>> I must open a bug on http://jira.xwiki.org/ ?
>>>
>>> NB: anchor  doesn't work with include.
>>> _______________________________________________
>>> users mailing list
>>> [email protected]
>>> http://lists.xwiki.org/mailman/listinfo/users
>> _______________________________________________
>> users mailing list
>> [email protected]
>> http://lists.xwiki.org/mailman/listinfo/users
>
>
>
> --
> Thomas Mortagne



-- 
Thomas Mortagne
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to