Skip to content

Custom Csv charsets support#1665

Merged
Jolanrensen merged 6 commits intomasterfrom
csv-charsets
Jan 23, 2026
Merged

Custom Csv charsets support#1665
Jolanrensen merged 6 commits intomasterfrom
csv-charsets

Conversation

@Jolanrensen
Copy link
Copy Markdown
Collaborator

Fixes #1555 (comment)

  • Adds charset argument to all readCsv-like functions
  • Deprecated old functions as HIDDEN for binary compatibility (breaks unnamed function call compatibility, but with a function as large as this, I hope people already came to the conclusion that named arguments are superior for it ;P)
  • Detects charsets automatically from the BOM of UTF-* files if they exist!

@Jolanrensen Jolanrensen added this to the 1.0.0-Beta5 milestone Jan 22, 2026
@Jolanrensen Jolanrensen added the enhancement New feature or request label Jan 22, 2026
Comment thread dataframe-csv/src/main/kotlin/org/jetbrains/kotlinx/dataframe/io/readDelim.kt Outdated
Copy link
Copy Markdown
Collaborator

@zaleslaw zaleslaw left a comment

Choose a reason for hiding this comment

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

Probably is it worth to mention it on the site documentation?

@Jolanrensen
Copy link
Copy Markdown
Collaborator Author

Probably is it worth to mention it on the site documentation?

We could, but it won't be there until the next release, plus it's a useful but niche feature that I think people wil find when they need it.

@Jolanrensen Jolanrensen merged commit bd832ff into master Jan 23, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

readCSV deprecation, how do we specify charset now?

3 participants