[DC-338] Add setting charset to sandbox Created: 08/Dec/09 Updated: 10/Dec/09 |
|
| Status: | Reopened |
| Project: | Doctrine 1 |
| Component/s: | Sandbox |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major |
| Reporter: | Ladislav Prskavec | Assignee: | Jonathan H. Wage |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Environment: |
mysql 5, ubuntu 9.04, php 5.2.10 |
||
| Description |
|
I try set charset adding to config.php in sandbox: and this doesn't work. Please update sandbox and give the how to right setCharset in this example. Almost used utf8. |
| Comments |
| Comment by Jonathan H. Wage [ 08/Dec/09 ] |
|
This works properly. I test setCharset('utf8') and SET NAMES 'utf8' query is issued to the database properly. Please include reproducible code/information in your issue. |
| Comment by Ladislav Prskavec [ 09/Dec/09 ] |
|
Try this example on my github http://github.com/abtris/doctrine-sandbox, screenshots included. |
| Comment by Ladislav Prskavec [ 10/Dec/09 ] |
|
Try my sources, i now solution with add connection, but will be better support in manager for set encoding by options. |