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

invalid utf16 #849

Open
imguest24897-alt opened this issue Jan 13, 2025 · 12 comments
Open

invalid utf16 #849

imguest24897-alt opened this issue Jan 13, 2025 · 12 comments
Labels
beyond the fixable Bizarre things that just cant be fixed because of an system error, Platform-only glitch, etc. bug Something isn't working inactive same as the other label, but just inactive in general

Comments

@imguest24897-alt
Copy link

Describe your bug here. If you are modding, try testing your bug in a clean version of the engine instead. Also, if you're using an older version of JSE, please try the latest version/action build. Also, be sure to check the pinned 'JS Engine: Known Issues' issue, to check if your issue hasn't already been found!

when i launch the game through terminal i see that

Command Prompt/Terminal/Crash logs (if existing)

Called from hxcpp::__hxcpp_main
Called from ApplicationMain::main ApplicationMain.hx line 26
Called from ApplicationMain::create ApplicationMain.hx line 35
Called from ManifestResources::init ManifestResources.hx line 71
Called from openfl.text.Font::registerFont openfl/text/Font.hx line 251
Called from Type::createInstance /opt/hostedtoolcache/haxe/4.3.4/x64/std/cpp/_std/Type.hx line 90
Called from __ASSET__OPENFL__assets_fonts_pixel_otf::new ManifestResources.hx line 1656
Called from openfl.text.Font::new openfl/text/Font.hx line 60
Called from lime.text.Font::new lime/text/Font.hx line 97
Called from lime.text.Font::__fromFile lime/text/Font.hx line 465
Error : Invalid UTF16

Have you identified any steps to reproduce the bug? If so, please describe them below in as much detail as possible. Use images if possible.

  1. launch the game on fedora

Are you modding a build from source or with Lua?

Lua

What is your build target?

Linux

Did you edit anything in this build? If so, mention or summarize your changes.

no

If you use 1.12.0 or earlier, did you have Optimized Chart Loading turned on?

None

Did you check for any similar issues to what you're reporting? Check, then come back here. If there is a similar issue, then do not report the issue, otherwise it will be marked as a duplicate.

Yes

@imguest24897-alt imguest24897-alt added the bug Something isn't working label Jan 13, 2025
@imguest24897-alt
Copy link
Author

*by the way i use the precompiled version

@SyncGit12
Copy link
Collaborator

SyncGit12 commented Jan 13, 2025

Linux Mint is more stable than Fedora

Also are you using the latest nightly build?

@imguest24897-alt
Copy link
Author

i use latest one from releases (1.41.0)

@SyncGit12
Copy link
Collaborator

SyncGit12 commented Jan 13, 2025

hmm.............

didnt happen to me tho

@imguest24897-alt
Copy link
Author

imguest24897-alt commented Jan 13, 2025

i guess its just a bug in fedora? i dunno
i think ill try installing some packages that may can fix this hold on
seems didint work

@SyncGit12
Copy link
Collaborator

aight

@moxie-coder
Copy link
Collaborator

seems to be an issue with an font that's using UTF-16 when it should be using UTF-8

@SyncGit12
Copy link
Collaborator

exactly

@imguest24897-alt
Copy link
Author

seems to be an issue with an font that's using UTF-16 when it should be using UTF-8

oh, i guess ill switch to utf8 mode

@SyncGit12
Copy link
Collaborator

is it fixed?

@moxie-coder
Copy link
Collaborator

exactly

that’s my only guess, this issue is pretty rare, and I’ve not seen any exact fixes for it

@SyncGit12
Copy link
Collaborator

er-89jmbgy0hd858ur

@SyncGit12 SyncGit12 added beyond the fixable Bizarre things that just cant be fixed because of an system error, Platform-only glitch, etc. inactive same as the other label, but just inactive in general labels Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beyond the fixable Bizarre things that just cant be fixed because of an system error, Platform-only glitch, etc. bug Something isn't working inactive same as the other label, but just inactive in general
Projects
None yet
Development

No branches or pull requests

3 participants