Roboroads / laravel-tinker

Adds a way to write php and run it directly in Laravels' Artisan Tinker.
Apache License 2.0
204 stars 15 forks source link

[Bug]:The result output in the Tinker console contains characters in the wrong encoding (strange output) #335

Closed jazz-max closed 4 months ago

jazz-max commented 4 months ago

Short bug description

When I run tinker, his output window contains something in wrong encoding surrounding the result

Extended bug description

No response

Your project is not the problem

How to reproduce?

type "hello world" press run look in result panel

Снимок экрана 2024-05-09 в 12 42 00 Снимок экрана 2024-05-09 в 12 41 46

Expected behavior

all symbols must be readable

Screenshots

Снимок экрана 2024-05-09 в 12 41 46 Снимок экрана 2024-05-09 в 12 42 00

IDE & Version

PhpStorm 2024.1

PHP Version

PHP Version => 8.3.3-1+ubuntu22.04.1+deb.sury.org+1

OS and version

macos 14.3 (23D56)

Laravel Tinker plugin version

2.7.0

Interpreter type

Docker compose

Laravel Version

10.48.4

Tinker version

2.9.0

Psysh version

v0.12.2

Additional Context

No response

Roboroads commented 4 months ago

Hey, thanks for posting this issue. It's related to https://github.com/Roboroads/laravel-tinker/issues/320 tho, so I'm going to close this one and focus it all there :)