Skip to content

Character Encoding Issues with Spanish Accents and Tildes in Examples Section #3673

@maoa316

Description

@maoa316

What happened?

Summary:
Spanish accents, tildes, and potentially other special characters from various languages are not displaying correctly in the Examples section only. This issue affects readability and data accuracy for non-ASCII characters.
Environment:

Serenity BDD version: 4.2.34 (also reproduced in previous versions)
Affected component: Examples section of test scenarios

Steps to Reproduce:

Create a test scenario with Spanish text containing accents and tildes in the Examples section
Execute the test and generate the report
Observe the Examples section in the generated report

Expected Result:
Spanish characters with accents and tildes (such as ñ, á, é, í, ó, ú) should display correctly throughout the entire report, including the Examples section.
Actual Result:
Characters with accents and tildes are corrupted or display incorrectly in the Examples section only. As shown in the attached screenshot, "Validación caso con Tilde y Ñ" appears malformed in the Examples table.
Additional Information:

The issue is isolated to the Examples section only
Other sections of the report (Scenario Outline, Steps, etc.) display special characters correctly
This suggests a specific character encoding issue within the Examples table rendering component
The problem may affect other international characters beyond Spanish

Impact:
This affects the readability and accuracy of test reports for international users, particularly those using Spanish and other languages with special characters.

Image

What did you expect to happen?

No response

Serenity BDD version

I'm Using the latest version 4.2.34

JDK version

java version "17.0.12" 2024-07-16 LTS Java(TM) SE Runtime Environment (build 17.0.12+8-LTS-286) Java HotSpot(TM) 64-Bit Server VM (build 17.0.12+8-LTS-286, mixed mode, sharing)

Execution environment

Windows 11

How to reproduce the bug.

Create a test scenario with Spanish text containing accents and tildes in the Examples section
Execute the test and generate the report
Observe the Examples section in the generated report

Image

How can we make it happen?

Work on this myself and propose a PR (with Serenity BDD team guidance)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions