use utf8 encode for TextInputStream.cpp

This commit is contained in:
hyzboy 2023-07-13 23:09:09 +08:00
parent dd57965556
commit 25cd2fee89
No known key found for this signature in database
GPG Key ID: 067EE4525D4FB6D3

View File

@ -1,4 +1,4 @@
#include<hgl/io/TextInputStream.h>
#include<hgl/io/TextInputStream.h>
namespace hgl
{
@ -69,7 +69,7 @@ namespace hgl
{
uint8 *p=buffer;
if(stream_pos==0) //最开始那检测一下BOM头
if(stream_pos==0) //最开始那检测一下BOM头
{
if(cur_buf_size>=2)
{