Replies: 9 comments
-
this is not a bug. this is missing feature - detection of Shift-JIS coding. Cud cannot detect it. so user must choose Shift-JIS coding using the statusbar click. PS. Cud can detect UTF8 by signature and by byte content. |
Beta Was this translation helpful? Give feedback.
-
I found new bug when experimented with your Shift-JIS sample text. I saved sample あいうえおアイウエオ to UTF8, then converted it to Shift-JIS, then loaded Shift-JIS file. and I see editor became 'locked' forever (hourglass icon). fixed! |
Beta Was this translation helpful? Give feedback.
-
@nhp65 is it normal for sample text and for shift-jis? Other editors do the same? If other editors are showing all chars normal (not |
Beta Was this translation helpful? Give feedback.
-
Some special CJK text doesn't shown on other languages. |
Beta Was this translation helpful? Give feedback.
-
@rasberryrabbit I did not understand your comment. BTW. i made the bugreport at Lazarus tracker https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/41277 can you help with that report, ie fix LConvEncoding somehow? we have not much Asian users who can help. |
Beta Was this translation helpful? Give feedback.
-
I submit patch about converting cp932 to utf8 above link. |
Beta Was this translation helpful? Give feedback.
-
Applied @rasberryrabbit 's patch. it is in the release 1.220 now. thanks. |
Beta Was this translation helpful? Give feedback.
-
I tried 1.220. |
Beta Was this translation helpful? Give feedback.
-
Detection is not supported, as before. but if you save file as shift-jis, file will be loaded in shift-jis next time. |
Beta Was this translation helpful? Give feedback.
-
This is about Japanese character encoding issues with Shift-JIS.
Japanese text includes hiragana, katakana, and kanji characters in addition to alphanumeric characters. These are all full-width characters, but among them, only katakana also has half-width versions, similar to alphanumeric characters.
When displaying a text file containing these half-width katakana in UTF-8 encoding, it displays correctly.
However, when a text file containing half-width katakana is saved in Shift-JIS encoding,
it is incorrectly identified as cp1252 encoding and doesn't display properly.
I expect text containing half-width katakana to display without issues, just like with UTF-8.
Please copy and test the following text.
The character code table for half-width katakana is as follows.
This test was executed in the following environment.
macOS Sequoia 15.1.1
cudatext-macos-cocoa-aarch64-1.219.1.0
Beta Was this translation helpful? Give feedback.
All reactions