Bug 56476 - [cd9660] [patch] cd9660 unicode support simple hack
Summary: [cd9660] [patch] cd9660 unicode support simple hack
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: standards (show other bugs)
Version: 5.1-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-standards (Nobody)
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2003-09-05 05:40 UTC by Lee Chung-Yeol
Modified: 2019-01-14 08:05 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (1.00 KB, patch)
2003-09-05 05:40 UTC, Lee Chung-Yeol
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lee Chung-Yeol 2003-09-05 05:40:16 UTC
	FreeBSD cd9660 module cannot handle the unicode. 
	Although there is a kernel module for other charset sysutils/cd9660_unicode,
	it can deal only the single byte charset.

	This patch is a fix for the cd9660_wchar2char() that is a hook function for translating unicode to char.

Fix: Fix the isochar function in sys/isofs/cd9660/cd9660_util.c to return consumed number of bytes from the cd9660_wchar2char().
	Then, by hooking this, we can write ports similar to cd9660_unicode that offer the translation.

	Here is the diff file for cd9660_util.c and example cd9660_cp949 port.
	port is available at http://lovelyworm.sarang.net/ports/cd9660_cp949.tar.gz
How-To-Repeat: 	Just mount cd with multi-byte charset.
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2018-05-23 10:27:35 UTC
batch change of PRs untouched in 2018 marked "in progress" back to open.
Comment 2 Oleksandr Tymoshenko freebsd_committer freebsd_triage 2019-01-14 08:05:20 UTC
Closing as OBE. Custom multibyte/char translation for cd9660 was replaced by iconv support in base r120492.