Add charset=utf8 to DB2 URI
Change-Id: I4535290d2e69c966dc65eb340cd0ba17af9883e6
This commit is contained in:
@@ -197,7 +197,7 @@ License and Author
|
|||||||
| **Copyright** | Copyright (c) 2013, Opscode, Inc. |
|
| **Copyright** | Copyright (c) 2013, Opscode, Inc. |
|
||||||
| **Copyright** | Copyright (c) 2013, Craig Tracey |
|
| **Copyright** | Copyright (c) 2013, Craig Tracey |
|
||||||
| **Copyright** | Copyright (c) 2013, SUSE Linux GmbH |
|
| **Copyright** | Copyright (c) 2013, SUSE Linux GmbH |
|
||||||
| **Copyright** | Copyright (c) 2013, IBM, Corp. |
|
| **Copyright** | Copyright (c) 2013-2014, IBM, Corp. |
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
|
@@ -77,7 +77,7 @@ module ::Openstack
|
|||||||
path = info['path']
|
path = info['path']
|
||||||
result = "sqlite:///#{path}"
|
result = "sqlite:///#{path}"
|
||||||
when "db2"
|
when "db2"
|
||||||
result = "ibm_db_sa://#{user}:#{pass}@#{host}:#{port}/#{name}"
|
result = "ibm_db_sa://#{user}:#{pass}@#{host}:#{port}/#{name}?charset=utf8"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user