YuaShizuki / clearsilver

Automatically exported from code.google.com/p/clearsilver
0 stars 0 forks source link

too much spaces removed in cgi_output on NetBSD with utf8 characters #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. gcc -I/usr/pkg/include/ClearSilver -o test test.c -L/usr/pkg/lib  -lz
-lneo_cgi -lneo_cs -lneo_utl
2. put toto.hdf and toto.cs in the same directory than the test binary
3. ./test

What is the expected output? What do you see instead?
" <p>Ici je vais ajouter Mercurial à <a
href="http://brokk.etoilebsd.net/">brokk</a>.</p>"
instead I got : 
" <p>Ici je vais ajouter Mercurial à<a
href="http://brokk.etoilebsd.net/">brokk</a>.</p>"

a space is missing before '<a href'

What version of the product are you using? On what operating system?

clearsilver 0.10.5 from pkgsrc, on 
5.0_STABLE NetBSD 5.0_STABLE (XEN3_DOMU_PF) #0: Wed Oct 21 14:59:59

Please provide any additional information below.

the workaround is to add Config.WhiteSpaceStrip=0 to the hdf file

I tested the samething on FreeBSD with clearsilver 0.10.5 from ports I
haven't the problem

I can reproduce this with every à and ù not with é or è 
All the encoding are in utf8

Original issue reported on code.google.com by baptiste...@gmail.com on 6 Nov 2009 at 3:47

Attachments: