Skip to content

Conversation

iseki0
Copy link

@iseki0 iseki0 commented Sep 29, 2025

No description provided.

@iseki0 iseki0 changed the title fix kotlin native windows commandline encoding KT-81653: Fix kotlin native windows commandline encoding Oct 12, 2025
Copy link
Contributor

@haitaka haitaka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi! I might be missing it, but your implementation doesn’t set kotlin::programName.
I see two options here:

  1. Patch Konan_Platform_getProgramName to support the Windows case, or
  2. Store an ExternalRCRef (see createRetainedExternalRCRef) to a Kotlin string in programName.

I prefer the latter.

BTW, setupArgsWindows looks quite similar to the common setupArgs. Maybe we could merge them with a couple of #ifdefs inside?

@iseki0
Copy link
Author

iseki0 commented Oct 17, 2025

I will fix it soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants