function cannot be saved in Chinese input
northes
HOBBYOP
a year ago
After entering Chinese in the source code window, pressing ctrl + s cannot save the changes I made.
But it's OK to enter English.
// index.tsx (Bun v1.2 runtime)
import { Hono } from "hono@4";
import { cors } from "hono/cors";
const app = new Hono();
app.use("/*", cors());
app.get("/", (c) => c.text("测试中文"));
app.get("/api/health", (c) => c.json({ status: "ok" }));
Bun.serve({
port: import.meta.env.PORT ?? 3000,
fetch: app.fetch,
});
I have set the input method of the computer to English
0 Threads mention this feature