A UTF-8 document contains the Japanese character あ.
Decide whether it can be losslessly converted to ordinary ISO-8859-1.
Which description is correct?
ISO-8859-1 is a single-byte Western character set and does not contain Japanese characters such as あ.
Detailed explanation
Correct. The target character set has no representation for あ, so ordinary conversion fails.
Incorrect. ISO-8859-1 does not cover all Unicode.
Incorrect. あ is outside ASCII.
Incorrect. ISO-8859-1 does not use ISO-2022-style character-set switching.
Try it yourself
An example you can run in a temporary verification environment.
printf 'あ' | iconv -f UTF-8 -t ISO-8859-1Expected result
変換不能を示すiconvエラーKey points
- The target must contain the character
- ISO-8859-1 is single-byte
- Japanese is outside its range
Notes
- Environment: UTF-8端末 / iconv / 意図した失敗確認
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Locale category
A setting that controls language, numeric formatting, collation, or date display.
Character encoding
A mapping between characters and the bytes used to represent them.
Timezone
A rule set that converts timestamps for a region or display context.