Skip to content

Explicitly pass encoding to iconv_open for NetBSD - #66

Open
sotlampr wants to merge 1 commit into
kaworu:masterfrom
sotlampr:master
Open

Explicitly pass encoding to iconv_open for NetBSD#66
sotlampr wants to merge 1 commit into
kaworu:masterfrom
sotlampr:master

Conversation

@sotlampr

Copy link
Copy Markdown

As discussed in #65.

Comment thread src/t_toolkit.c
Comment on lines +224 to +226
char *enc = nl_langinfo(CODESET);
#else
char *enc = "";

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

can we const here?

Suggested change
char *enc = nl_langinfo(CODESET);
#else
char *enc = "";
const char *enc = nl_langinfo(CODESET);
#else
const char *enc = "";

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants