Title: [macOS] Code completion breaks when .pde file contains Chinese characters · Issue #1595 · processing/processing4 · GitHub
Open Graph Title: [macOS] Code completion breaks when .pde file contains Chinese characters · Issue #1595 · processing/processing4
X Title: [macOS] Code completion breaks when .pde file contains Chinese characters · Issue #1595 · processing/processing4
Description: Most appropriate sub-area of Processing 4? I'm not sure, PDE Processing version 4.5.7 Operating system Apple M4, macOs 15.6.1 Bug description On macOS, code completion stops working as soon as a .pde file contains Chinese (non-ASCII / mu...
Open Graph Description: Most appropriate sub-area of Processing 4? I'm not sure, PDE Processing version 4.5.7 Operating system Apple M4, macOs 15.6.1 Bug description On macOS, code completion stops working as soon as a .p...
X Description: Most appropriate sub-area of Processing 4? I'm not sure, PDE Processing version 4.5.7 Operating system Apple M4, macOs 15.6.1 Bug description On macOS, code completion stops working as soon as ...
Opengraph URL: https://github.com/processing/processing4/issues/1595
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[macOS] Code completion breaks when .pde file contains Chinese characters","articleBody":"### Most appropriate sub-area of Processing 4?\n\nI'm not sure, PDE\n\n### Processing version\n\n4.5.7\n\n### Operating system\n\nApple M4, macOs 15.6.1\n\n### Bug description\n\nOn macOS, code completion stops working as soon as a `.pde` file contains Chinese (non-ASCII / multi-byte UTF-8) characters. This happens both in VS Code (via `Processing lsp`) and in the built-in Processing IDE editor.\n\nThe exact same Processing version works without any issues on Windows.\n\n### Environment\n\n- **Processing version:** [4.5.7]\n- **OS:** macOS [Apple M4, macOs 15.6.1]\n- **Comparison:** Works normally on Windows with the exact same Processing version.\n\n### Steps to Reproduce\n\n1. Open a `.pde` file in VS Code (with the Processing extension) or in Processing.app (with code completion enabled).\n2. Add or paste any Chinese characters (e.g., `// 中文测试`), even without saving.\n3. Try triggering code completion anywhere in the file.\n\n### Expected Behavior\n\n- Code completion continues to work in the Processing editor.\n\n### Actual Behavior\n\n- In the Processing IDE editor on macOS, code completion fails to trigger when Chinese characters are present. \n- English-only behaves normal.\n- By the way, Processing extensions on VS Code that rely on the Processing LSP for code completion also have this issue.\n\n### Steps to reproduce this\n\n1.\n\n2.\n\n3.\n\n\n### snippet\n\n```processing\n\n// Paste your code below :)\n\nvoid setup() {\n\n}\n\nvoid draw() {\n\n}\n```\n\n\n### Additional context\n\n_No response_\n\n### Would you like to work on the issue?\n\nNo, I’m just reporting the issue","author":{"url":"https://github.com/mizerthilez","@type":"Person","name":"mizerthilez"},"datePublished":"2026-11-22T02:26:47Z","url":"https://github.com/processing/processing4/issues/1595"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:997d1ddb-858d-b07c-4567-251049f337b1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9582:1573A5:FB072:15965C:6B05F78C |
| html-safe-nonce | 5f250a90e1297542c93c8428f40c7f07e421f0bf8a230b4cfaae84e9664b6ac3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTgyOjE1NzNBNTpGQjA3MjoxNTk2NUM6NkIwNUY3OEMiLCJ2aXNpdG9yX2lkIjoiODM3OTg3MzkzNDA2MjE3MDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5d759ef687a24b571f96ffc45cc9b88eb52db621abf516fff64bc6ad245a0d41 |
| hovercard-subject-tag | issue:6537383246 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/processing/processing4/1595/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8838f466adba0f80aa7f866f5dd493598887f64efc18924e1c58ef562edc62d0/processing/processing4/issues/1595 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8838f466adba0f80aa7f866f5dd493598887f64efc18924e1c58ef562edc62d0/processing/processing4/issues/1595 |
| og:image:alt | Most appropriate sub-area of Processing 4? I'm not sure, PDE Processing version 4.5.7 Operating system Apple M4, macOs 15.6.1 Bug description On macOS, code completion stops working as soon as a .p... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mizerthilez |
| hostname | github.com |
| expected-hostname | github.com |
| None | c214754a6652274794ed4e054a7b71be999d69843f103ba54893001d45010ece |
| turbo-cache-control | no-preview |
| go-import | github.com/processing/processing4 git https://github.com/processing/processing4.git |
| octolytics-dimension-user_id | 1617169 |
| octolytics-dimension-user_login | processing |
| octolytics-dimension-repository_id | 844382769 |
| octolytics-dimension-repository_nwo | processing/processing4 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 844382769 |
| octolytics-dimension-repository_network_root_nwo | processing/processing4 |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7d164a4e71eb333b2b17fd5b17e18efb7855505c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width