You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-14Lines changed: 5 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,12 +47,6 @@ Update your **config/database.php's** default driver with the settings for the *
47
47
return [
48
48
...
49
49
50
-
'sybase' =>
51
-
[
52
-
'application_encoding' => false,
53
-
'application_charset' => '',
54
-
'database_charset' => ''
55
-
],
56
50
57
51
'connections' => [
58
52
...
@@ -67,7 +61,9 @@ return [
67
61
'charset' => 'utf8',
68
62
'prefix' => '',
69
63
'cache_tables' => true,
70
-
'cache_time' => 3600
64
+
'cache_time' => 3600,
65
+
'application_encoding' => false,
66
+
'application_charset' => '',
71
67
],
72
68
73
69
...
@@ -107,18 +103,13 @@ The file is usualy found in **/etc/freetds/freetds.conf**. Set the configuration
107
103
## Configuring the charset conversion
108
104
This package offers to method to charset conversion, it can be converted in application layer or in database layer, we offered both methods because it can be useful for debugging, to config the application layer conversion you need to set up the following entries on the `database.php` file. You can view an example of the application encoding setup below:
109
105
110
-
```database
111
-
'sybase' =>
112
-
[
113
-
'application_encoding' => true,
114
-
'application_charset' => '',
115
-
'database_charset' => ''
116
-
],
117
106
```
118
107
To use the database layer conversion add the property charset to connection configuration on the sybase configuration array
0 commit comments