]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
fix for windows utf-8 input (#840)
authorTomáš Pazdiora <redacted>
Sat, 8 Apr 2023 15:49:39 +0000 (17:49 +0200)
committerGitHub <redacted>
Sat, 8 Apr 2023 15:49:39 +0000 (17:49 +0200)
commitaaf3b23debc1fe1a06733c8c6468fb84233cc44f
treec18392a399ef7369b5df1719ab7547e649408bb7
parentf2d1c472946dee2aba9077e8df73346796752b10
fix for windows utf-8 input (#840)

Use UTF-16 as input on Windows, since UTF-8 does not work and reads multibyte characters as zeros
examples/common.cpp
examples/common.h
examples/main/main.cpp