použil som utf-8 a diakritika aj tak nefunguje
- riderko234
- Člen | 2
v hlavnom @layout.latte mám toto a diakritiku mi nevezme a vypíše chybu
Thrown exception ‚Template is not valid UTF-8 stream.‘ in …/templates/@layout.latte
<!DOCTYPE html>
<html>
<head>
<meta charset=„utf-8“>
<title>{ifset title}{include title|striptags} | {/ifset}Nette Sandbox</title>
<link rel=„stylesheet“ href=„{$basePath}/css/style.css“>
<link rel=„shortcut icon“ href=„{$basePath}/favicon.ico“>
<meta name=„viewport“ content=„width=device-width“>
</head>
<body>
<ul class=„navig“>
<li><a n:href=„Homepage:“>članky</a></li>
{if $user->loggedIn}
<li><a n:href=„Sign:out“>Odhlásit</a></li>
{else}
<li><a n:href=„Sign:in“>Prihlásit</a></li>
{/if}
</ul>
<div n:foreach=„$flashes as $flash“ n:class=„flash, $flash->type“>{$flash->message}</div>
{include content}
{block scripts}
<script
src=„code.jquery.com/jquery-1.11.3.min.js“></script>
<script
src=„nette.github.io/resources/js/netteForms.min.js“></script>
<script src=„{$basePath}/js/main.js“></script>
{/block}
</body>
</html>