Skip to content

Bug when in the parameters values we have national characters. #130

@opxwebdev

Description

@opxwebdev

When using national symbols in the parameters, phpjasper simply cuts them out. For example, Spanish characters: á, ó or í. This happens because when exec() is executed, the environment variable LANG is set with a different language.
If in the execute() method, before executing the exec() command, add:

putenv('LANG=es_ES.UTF-8');

all characters are displayed correctly.

Maybe add a parameter to the configuration that would allow changing the environment variables before executing exec() command?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions