Skip to content
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

Codificação do Banco de dados #10

Closed
bjverde opened this issue Nov 7, 2017 · 2 comments
Closed

Codificação do Banco de dados #10

bjverde opened this issue Nov 7, 2017 · 2 comments
Labels
Bug Something isn't working

Comments

@bjverde
Copy link
Owner

bjverde commented Nov 7, 2017

Verificar a codificação dos dados que vem do Banco de Dados e os que vão para o banco.

Especialmente no MS SQL

Está relaciona com o #9

@bjverde
Copy link
Owner Author

bjverde commented Nov 18, 2017

@bjverde
Copy link
Owner Author

bjverde commented Nov 18, 2017

Arquivo TPDOConnection.php connect linhas 290 a 311

if (PHP_OS == "Linux") {
$driver = 'dblib';
self::$dsn = $driver.':version=7.2;charset=UTF-8;host=' . HOST . ';dbname=' . DATABASE . ';port=' . PORT;
} else {
$driver = 'sqlsrv';
self::$dsn = $driver.':Server=' . HOST . ';Database=' . DATABASE;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant