damianszczepanik / cucumber-reporting

HTML reports for Cucumber
GNU Lesser General Public License v2.1
546 stars 402 forks source link

Hook's embedding text with emojis not displaying the correct string in Tag Report page #1087

Open P3t3rU5 opened 1 year ago

P3t3rU5 commented 1 year ago

I've been experimenting adding emojis to the logs to make them more readable, I noticed that in Hook's embedding I get it to look like this

�� Quick access

And in Jenkins execution logs it looked like this

👆 Quick access

After some looking around what I could see is that jenkins embedding uses a div element inside a pre element, that being said I tried changing with inspect in Chrome and saw no difference

I tried also looking inside the code and I'm not sure as I'm not that familiar with the code itself but I suspect might be related with encoding and decoding being done here.

Cheers

damianszczepanik commented 1 year ago

Looks like problem with page coding - check on both pages if this is same (iso, utf) or different