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

UTF-8 Support Documentation #48

Open
jlubean opened this issue Feb 11, 2013 · 0 comments
Open

UTF-8 Support Documentation #48

jlubean opened this issue Feb 11, 2013 · 0 comments

Comments

@jlubean
Copy link

jlubean commented Feb 11, 2013

You should update your documentation to include instructions on UTF-8 support. Through some investigative work, Ryan Allen, a co-worker of mine, found that you must specify a value of "utf8" for both the "charset" and "ncharset" options. It only works if both options are set.

new oracle.Database({
    charset: 'utf8',
    ncharset: 'utf8',
    hostname: conf.get("oracleHostName"),
    port: conf.get("oraclePort"),
    user: conf.get("oracleUser"),
    password: conf.get("oraclePassword"),
    database: conf.get("oracleDatabase")
  }).connect(function(error) {
      // execute query
});
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

No branches or pull requests

1 participant