Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

Added text encoding to README

Dillon DuPont8e50547d264d
diff --git a/README.md b/README.md
index 7655e88829..f752257acf 100644
--- a/README.md
+++ b/README.md
@@ -285,8 +285,8 @@ await computer.interface.copy_to_clipboard() # Get clipboard content
# File System Operations
await computer.interface.file_exists(path) # Check if file exists
await computer.interface.directory_exists(path) # Check if directory exists
-await computer.interface.read_text(path) # Read file content
-await computer.interface.write_text(path, content) # Write file content
+await computer.interface.read_text(path, encoding="utf-8") # Read file content
+await computer.interface.write_text(path, content, encoding="utf-8") # Write file content
await computer.interface.read_bytes(path) # Read file content as bytes
await computer.interface.write_bytes(path, content) # Write file content as bytes
await computer.interface.delete_file(path) # Delete file