Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] unable to create local copy utf8 encoded JapaneseMySQLdata
- Date: Tue, 14 Feb 2006 15:11:03 +0900
- From: David Riggs <dariggs@example.com>
- Subject: Re: [tlug] unable to create local copy utf8 encoded JapaneseMySQLdata
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US;rv:1.7.7) Gecko/20050420 Debian/1.7.7-2
The html entities can be converted in emacs/mule-ucs with Turnbull's twister: (defun entities-to-characters () (interactive) (goto-char (point-min)) (while (re-search-forward "&#\\([a-fA-F0-9]+\\);" nil t) (message (match-string 1)) (insert (or (ucs-to-char (string-to-number (match-string 1) 10)) (match-string 0))) ; fail-safe (delete-region (match-beginning 0) (match-end 0)))) Caution-- it does the entire file. David Riggs (with thanks to the creator Steven T)
- Follow-Ups:
- Re: [tlug] unable to create local copy utf8 encodedJapanese MySQLdata
- From: Edward Middleton
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] unable to create local copy utf8 encoded Japanese MySQLdata
- Next by Date: Re: [tlug] unable to create local copy utf8 encodedJapanese MySQLdata
- Previous by thread: Re: [tlug] unable to create local copy utf8 encoded Japanese MySQLdata [SOLVED]
- Next by thread: Re: [tlug] unable to create local copy utf8 encodedJapanese MySQLdata
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links