Skip to content

Commit cba3133

Browse files
committed
Change DBSETUTF16 abscence warning message. Fixes #410.
1 parent 41a5428 commit cba3133

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## 2.1.2
22

33
* Use Kernel.BigDecimal vs BigDecimal.new. Fixes #409.
4+
* Change `DBSETUTF16` abscence warning message. Fixes #410.
45

56
## 2.1.1
67

ext/tiny_tds/client.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ static VALUE rb_tinytds_connect(VALUE self, VALUE opts) {
362362
if (use_utf16 == Qfalse) { DBSETLUTF16(cwrap->login, 0); }
363363
#else
364364
if (use_utf16 == Qtrue || use_utf16 == Qfalse) {
365-
rb_warn("TinyTds: :use_utf16 option not supported in this version of FreeTDS.\n");
365+
rb_warn("TinyTds: Please consider upgrading to FreeTDS 1.0 for better unicode support.\n");
366366
}
367367
#endif
368368

0 commit comments

Comments
 (0)