Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

terraform/output: unicode characters missing since 0.47.2 #1461

Closed
sebhoss opened this issue Nov 2, 2024 · 2 comments · Fixed by #1462
Closed

terraform/output: unicode characters missing since 0.47.2 #1461

sebhoss opened this issue Nov 2, 2024 · 2 comments · Fixed by #1462
Assignees

Comments

@sebhoss
Copy link

sebhoss commented Nov 2, 2024

Describe the bug
I have a test that calls terraform.Output and that output contains a unicode character. After updating terratest from 0.47.1 to 0.47.2, those unicode characters are missing.

To Reproduce
Steps to reproduce the behavior, code snippets and examples which can be used to reproduce the issue.

output "id" {
  value = "söme chäräcter"
}
assert.Equal(t, "söme chäräcter", terraform.Output(t, options, "id"))

Expected behavior
The given output should be given as-is without removing unicode characters.

Nice to have

Versions

  • Terratest version: 0.47.2
  • Environment details (Ubuntu 20.04, Windows 10, etc.): Ubuntu

Additional context

I think this is caused by #1445 which keeps printable ASCII chars only

@sebhoss sebhoss added the bug Something isn't working label Nov 2, 2024
@ZachGoldberg ZachGoldberg added the terratest label Nov 2, 2024 — with Linear
@ZachGoldberg ZachGoldberg removed the bug Something isn't working label Nov 2, 2024
sebhoss added a commit to metio/terraform-provider-migadu that referenced this issue Nov 2, 2024
Signed-off-by: Sebastian Hoß <seb@xn--ho-hia.de>
sebhoss added a commit to metio/terraform-provider-migadu that referenced this issue Nov 2, 2024
Signed-off-by: Sebastian Hoß <seb@xn--ho-hia.de>
@ryehowell
Copy link
Contributor

This has also been reported in #1453

@denis256 denis256 self-assigned this Nov 5, 2024
@odgrim odgrim reopened this Dec 10, 2024
@denis256
Copy link
Member

@odgrim odgrim reopened this Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants