Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 107939 Details for
Bug 238688
BIRT 2.3 Translation for 6 languages in group 1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Conversion script
convert.sh (text/plain), 1.22 KB, created by
Denis Roy
on 2008-07-21 09:36:39 EDT
(
hide
)
Description:
Conversion script
Filename:
MIME Type:
Creator:
Denis Roy
Created:
2008-07-21 09:36:39 EDT
Size:
1.22 KB
patch
obsolete
>#!/bin/sh > >echo "Doing Korean... " >for i in $(find ko/ -type f); do > > ISO8859=$(file $i | grep -c "ISO-8859") > if [ $ISO8859 -eq 1 ]; then > echo "Need to convert $i" > iconv -f EUC-KR -t UTF-8 $i -o ${i}2 > mv -f ${i}2 $i > fi >done > >echo "Doing Japanese... " >for i in $(find ja/ -type f); do > # Non-ISO extended-ASCII text, with CRLF, NEL line terminators > NONISO=$(file $i | grep -c "Non-ISO extended-ASCII text"); > if [ $NONISO -eq 1 ]; then > echo "Need to convert $i" > iconv -f SHIFT-JIS -t UTF8 $i -o ${i}2 > mv -f ${i}2 $i > fi >done > >echo "Doing Korean... " >for i in $(find zh/ -type f); do > > ISO8859=$(file $i | grep -c "ISO-8859") > if [ $ISO8859 -eq 1 ]; then > echo "Need to convert $i" > iconv -f GB2312 -t UTF-8 $i -o ${i}2 > mv -f ${i}2 $i > fi >done > >echo "Doing all others..." >for i in $(find . -type f); do > > ISO8859=$(file $i | grep -c "ISO-8859") > if [ $ISO8859 -eq 1 ]; then > echo "Need to convert $i" > iconv -f ISO-8859-1 -t UTF-8 $i -o ${i}2 > mv -f ${i}2 $i > fi >done
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 238688
:
105963
| 107939