I'm a brazilian guy who works with pt-br language and iso-8859-1 is my default charset.
the problem is that with groceryCRUD I'm getting some strange chars and I can see the page is loaded using UTF-8, even if I set my HTML as this:
<!DOCTYPE html>
<html lang="pt-br">
<head>
<title>Aerovip Viagens e Turismo</title>
<meta charset="iso-8859-1">
<meta name="description" content="bla lba bla bla">
<meta name="keywords" content="bla bla bla">
<meta name="author" content="my name">
<?php foreach ($css_files as $file): ?>
<link type="text/css" rel="stylesheet" href="<?php echo $file; ?>">
<?php endforeach; ?>
<?php foreach ($js_files as $file): ?>
<script src="<?php echo $file; ?>"></script>
<?php endforeach; ?>
<style type='text/css'>
body
{
font-family: Arial;
font-size: 14px;
}
a {
color: blue;
text-decoration: none;
font-size: 14px;
}
a:hover
{
text-decoration: underline;
}
</style>
</head>
<body>
<!-- Beginning header -->
<div id="globalnav">
<ul>
<li><?= anchor("admin/inicio", "InÃcio"); ?></li>
</ul>
</div>
<!-- End of header-->
<div id="ajuda">
<?php $this->load->view('admin/ajuda_crud'); ?>
</div>
<div style="height:20px;"></div>
<div>
<?php echo $output; ?>
</div>
<!-- Beginning footer -->
<div>Footer</div>
<!-- End of Footer -->
</body>
</html>
that way I receive some strange chars and my page goes online with UTF-8 as the encoding charset.
This default charset can be configured?
My MySQL table uses latin1, my html says iso8859-1 and my whole system is in Portuguese.
Anyone having same issue? Sugestions?
For now it is not causing me trouble, but it's a bit strange. :-)
----
I'm getting the new version from github now.
And the "ajuda_crud" is a view I created as a "help view", so I can try using if/else to see watch URI the users is using and display some context help.