diff --git a/src/EncodingHelper/FromUtf8.php b/src/EncodingHelper/FromUtf8.php
index <HASH>..<HASH> 100644
--- a/src/EncodingHelper/FromUtf8.php
+++ b/src/EncodingHelper/FromUtf8.php
@@ -58,7 +58,7 @@ class FromUtf8 implements EncodingHelperInterface
     {
         $return = '';
         for ($i = 0; $i < strlen($string); ++$i) {
-            $codePoint = ord($string{$i});
+            $codePoint = ord($string[$i]);
             switch ($codePoint) {
                 case 196:
                     $return .= chr(142);
diff --git a/src/EncodingHelper/ToUtf8.php b/src/EncodingHelper/ToUtf8.php
index <HASH>..<HASH> 100644
--- a/src/EncodingHelper/ToUtf8.php
+++ b/src/EncodingHelper/ToUtf8.php
@@ -58,7 +58,7 @@ class ToUtf8 implements EncodingHelperInterface
     {
         $return = '';
         for ($i = 0; $i < strlen($string); ++$i) {
-            $codePoint = ord($string{$i});
+            $codePoint = ord($string[$i]);
             switch ($codePoint) {
                 case 129:
                     $return .= chr(252);
fix 'Array and string offset access syntax with curly braces is deprecated' note in php-<I> (#<I>)