-
Notifications
You must be signed in to change notification settings - Fork 78
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
Weird character when writing text fields #83
Comments
A quick Google search indicates it might be the Unicode null character: U+0000 |
It would be really useful if you could come up with some way to test this inside R. I tried using
|
Hadely, If you use |
Sorry for being terse, I had to run out the door:
This works:
This does not:
Yet there is data in the table:
I think the problem is with |
BTW it's not super surprising that length didn't return the correct value - null is a weird character that isn't normally found in strings |
- `dbConnect()` now accepts arbitrary connection parameters in the `...` argument (r-dbi#83, @thrasibule).
- Update Rcpp registration code. - `dbConnect()` now accepts arbitrary connection parameters in the `...` argument (r-dbi#83, @thrasibule). - Handles NA values by converting them to NULL (r-dbi#82, @thrasibule). - Handle string quoting and missing values in strings (r-dbi#89, @jimhester). - `PKG_CFLAGS` and `PKG_LIBS` are now being set when using pg_config for `includedir` and `libdir` (r-dbi#119, @Usman-R). - Use `BYTEA` instead of `BLOB` for PostgreSQL 9.5 support.
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary. |
I'm getting a weird character added to all my text fields. E.g., If I run:
And then look at the table in SQLite Manager, I see a funny looking character (a box with four small zeros in a 2x2 grid) after the letter. If I read the table back into R, this character is no longer there. But the problem is when I try to work in the database itself. E.g., I can't match on any text field since the strings have this weird character appended to them.
I can send you a screen shot if you're interested in seeing what I'm seeing.
I'm using the development version of RSQLite.
The text was updated successfully, but these errors were encountered: