We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f94096f commit 90ae836Copy full SHA for 90ae836
speech/src/transcribe_sync.php
@@ -69,7 +69,7 @@
69
$confidence = $mostLikely->getConfidence();
70
printf('Transcript: %s' . PHP_EOL, $transcript);
71
$result = Array();
72
- $result['result'] = htmlentities((string)$transcript);
+ $result['result'] = htmlentities(stripslashes(utf8_encode($transcript)), ENT_QUOTES);;
73
echo json_encode($result);
74
break;
75
// printf('Confidence: %s' . PHP_EOL, $confidence);
0 commit comments