Title: Fix UTF-8 handling in input methods by jmmv · Pull Request #175 · endbasic/endbasic · GitHub
Open Graph Title: Fix UTF-8 handling in input methods by jmmv · Pull Request #175 · endbasic/endbasic
X Title: Fix UTF-8 handling in input methods by jmmv · Pull Request #175 · endbasic/endbasic
Description: This is a the same as #162 from @zenria after resolving conflicts, reordering and squashing some commits, and ensuring the web interface works. I've tried to keep the original sequence of commits as much as possible. The original PR description reads: Here is a summary of what has been done: Use a dedicated struct to manipulate string (LineBuffer) to avoid splitting inside UTF-8 code points. Console::write does not take bytes anymore but a string slice to ensure proper UTF-8 data is sent to the console. sdl & web implementation of write_wrapped do not manipulate bytes anymore but are using LineBuffer instead. This ensures correct line length & line splitting while wrapping. sdl console rendering use the render method instead of the render_latin1 method to properly render UTF-8 strings. Fixes #161.
Open Graph Description: This is a the same as #162 from @zenria after resolving conflicts, reordering and squashing some commits, and ensuring the web interface works. I've tried to keep the original sequence of commi...
X Description: This is a the same as #162 from @zenria after resolving conflicts, reordering and squashing some commits, and ensuring the web interface works. I've tried to keep the original sequence of c...
Opengraph URL: https://github.com/endbasic/endbasic/pull/175
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:f517f2ee-5c1c-54a8-9351-d4104ede5f90 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | ADAE:143213:71B0E0:A3508E:6A63778E |
| html-safe-nonce | ad955b1cf2e55e6565fd2be59c13da678f7e87a8cb955fa4c1ccf9e8ce25e05a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBREFFOjE0MzIxMzo3MUIwRTA6QTM1MDhFOjZBNjM3NzhFIiwidmlzaXRvcl9pZCI6IjUyODcyNzMyNDMzMTc4NjAyMzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f26edab0e9f4ab4b781cbd5a42a487bbd1397b7dd01b35cb78aba4710daddbf7 |
| hovercard-subject-tag | pull_request:952008028 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/endbasic/endbasic/pull/175/files |
| twitter:image | https://avatars.githubusercontent.com/u/879272?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/879272?s=400&v=4 |
| og:image:alt | This is a the same as #162 from @zenria after resolving conflicts, reordering and squashing some commits, and ensuring the web interface works. I've tried to keep the original sequence of commi... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 15e78334bb345f3864e70c5a376ed0383374123629b9e3022398d9431f6cd8bf |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/endbasic/endbasic git https://github.com/endbasic/endbasic.git |
| octolytics-dimension-user_id | 75130732 |
| octolytics-dimension-user_login | endbasic |
| octolytics-dimension-repository_id | 253313291 |
| octolytics-dimension-repository_nwo | endbasic/endbasic |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 253313291 |
| octolytics-dimension-repository_network_root_nwo | endbasic/endbasic |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 51da2d8d0a841a1393b806a6559fa9ad757e1666 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width