Difference between revisions of "Calc/Funkcionalnosti/Funkcije JIS in ASC"
(→JIS) |
(→ASC) |
||
Line 505: | Line 505: | ||
<TR VALIGN=TOP> | <TR VALIGN=TOP> | ||
<TD WIDTH=33%> | <TD WIDTH=33%> | ||
− | <P>0x30a1 <= c <= 0x30aa<BR> | + | <P>0x30a1 <= c <= 0x30aa<BR>če je c%2==0</P> |
</TD> | </TD> | ||
<TD WIDTH=33%> | <TD WIDTH=33%> | ||
Line 516: | Line 516: | ||
<TR VALIGN=TOP> | <TR VALIGN=TOP> | ||
<TD WIDTH=33%> | <TD WIDTH=33%> | ||
− | <P>0x30a1 <= c <= 0x30aa<BR> | + | <P>0x30a1 <= c <= 0x30aa<BR>če je c%2==1</P> |
</TD> | </TD> | ||
<TD WIDTH=33%> | <TD WIDTH=33%> | ||
Line 522: | Line 522: | ||
</TD> | </TD> | ||
<TD WIDTH=33%> | <TD WIDTH=33%> | ||
− | <P>katakana | + | <P>katakana mali a-o</P> |
</TD> | </TD> | ||
</TR> | </TR> | ||
<TR VALIGN=TOP> | <TR VALIGN=TOP> | ||
<TD WIDTH=33%> | <TD WIDTH=33%> | ||
− | <P>0x30ab <= c <= 0x30c2<BR> | + | <P>0x30ab <= c <= 0x30c2<BR>če je c%2==1</P> |
</TD> | </TD> | ||
<TD WIDTH=33%> | <TD WIDTH=33%> | ||
Line 538: | Line 538: | ||
<TR VALIGN=TOP> | <TR VALIGN=TOP> | ||
<TD WIDTH=33%> | <TD WIDTH=33%> | ||
− | <P>0x30ab <= c <= 0x30c2<BR> | + | <P>0x30ab <= c <= 0x30c2<BR>če je c%2==0</P> |
</TD> | </TD> | ||
<TD WIDTH=33%> | <TD WIDTH=33%> | ||
− | <P>(c - 0x30ac) / 2 + 0xff76<BR> | + | <P>(c - 0x30ac) / 2 + 0xff76<BR>sledi 0xff9e</P> |
</TD> | </TD> | ||
<TD WIDTH=33%> | <TD WIDTH=33%> | ||
Line 555: | Line 555: | ||
</TD> | </TD> | ||
<TD WIDTH=33%> | <TD WIDTH=33%> | ||
− | <P>katakana | + | <P>katakana mali tsu</P> |
</TD> | </TD> | ||
</TR> | </TR> | ||
<TR VALIGN=TOP> | <TR VALIGN=TOP> | ||
<TD WIDTH=33%> | <TD WIDTH=33%> | ||
− | <P>0x30c4 <= c <= 0x30c9<BR> | + | <P>0x30c4 <= c <= 0x30c9<BR>če je c%2==0</P> |
</TD> | </TD> | ||
<TD WIDTH=33%> | <TD WIDTH=33%> | ||
Line 571: | Line 571: | ||
<TR VALIGN=TOP> | <TR VALIGN=TOP> | ||
<TD WIDTH=33%> | <TD WIDTH=33%> | ||
− | <P>0x30c4 <= c <= 0x30c9<BR> | + | <P>0x30c4 <= c <= 0x30c9<BR>če je c%2==1</P> |
</TD> | </TD> | ||
<TD WIDTH=33%> | <TD WIDTH=33%> | ||
− | <P>(c - 0x30c5) / 2 + 0xff82<BR> | + | <P>(c - 0x30c5) / 2 + 0xff82<BR>sledi 0xff9e</P> |
</TD> | </TD> | ||
<TD WIDTH=33%> | <TD WIDTH=33%> | ||
Line 593: | Line 593: | ||
<TR VALIGN=TOP> | <TR VALIGN=TOP> | ||
<TD WIDTH=33%> | <TD WIDTH=33%> | ||
− | <P>0x30cf <= c <= 0x30dd<BR> | + | <P>0x30cf <= c <= 0x30dd<BR>če je c%3==0</P> |
</TD> | </TD> | ||
<TD WIDTH=33%> | <TD WIDTH=33%> | ||
Line 604: | Line 604: | ||
<TR VALIGN=TOP> | <TR VALIGN=TOP> | ||
<TD WIDTH=33%> | <TD WIDTH=33%> | ||
− | <P>0x30cf <= c <= 0x30dd<BR> | + | <P>0x30cf <= c <= 0x30dd<BR>če je c%3==1</P> |
</TD> | </TD> | ||
<TD WIDTH=33%> | <TD WIDTH=33%> | ||
− | <P>(c - 0x30d0) / 3 + 0xff8a<BR> | + | <P>(c - 0x30d0) / 3 + 0xff8a<BR>sledi 0xff9e</P> |
</TD> | </TD> | ||
<TD WIDTH=33%> | <TD WIDTH=33%> | ||
Line 615: | Line 615: | ||
<TR VALIGN=TOP> | <TR VALIGN=TOP> | ||
<TD WIDTH=33%> | <TD WIDTH=33%> | ||
− | <P>0x30cf <= c <= 0x30dd<BR> | + | <P>0x30cf <= c <= 0x30dd<BR>če je c%3==2</P> |
</TD> | </TD> | ||
<TD WIDTH=33%> | <TD WIDTH=33%> | ||
− | <P>(c - 0x30d1) / 3 + 0xff8a<BR> | + | <P>(c - 0x30d1) / 3 + 0xff8a<BR>sledi 0xff9f</P> |
</TD> | </TD> | ||
<TD WIDTH=33%> | <TD WIDTH=33%> | ||
Line 637: | Line 637: | ||
<TR VALIGN=TOP> | <TR VALIGN=TOP> | ||
<TD WIDTH=33%> | <TD WIDTH=33%> | ||
− | <P>0x30e3 <= c <= 0x30e8<BR> | + | <P>0x30e3 <= c <= 0x30e8<BR>če je c%2==0</P> |
</TD> | </TD> | ||
<TD WIDTH=33%> | <TD WIDTH=33%> | ||
Line 648: | Line 648: | ||
<TR VALIGN=TOP> | <TR VALIGN=TOP> | ||
<TD WIDTH=33%> | <TD WIDTH=33%> | ||
− | <P>0x30e3 <= c <= 0x30e8<BR> | + | <P>0x30e3 <= c <= 0x30e8<BR>če je c%2==1</P> |
</TD> | </TD> | ||
<TD WIDTH=33%> | <TD WIDTH=33%> | ||
Line 654: | Line 654: | ||
</TD> | </TD> | ||
<TD WIDTH=33%> | <TD WIDTH=33%> | ||
− | <P>katakana | + | <P>katakana mali ya-yo</P> |
</TD> | </TD> | ||
</TR> | </TR> | ||
Line 709: | Line 709: | ||
</TD> | </TD> | ||
<TD WIDTH=33%> | <TD WIDTH=33%> | ||
− | <P>ASCII | + | <P>Znaki ASCII</P> |
</TD> | </TD> | ||
</TR> | </TR> | ||
Line 720: | Line 720: | ||
</TD> | </TD> | ||
<TD WIDTH=33%> | <TD WIDTH=33%> | ||
− | <P> | + | <P>VODORAVNA ČRTA => HALFWIDTH |
KATAKANA-HIRAGANA PROLONGED SOUND MARK</P> | KATAKANA-HIRAGANA PROLONGED SOUND MARK</P> | ||
</TD> | </TD> | ||
Line 732: | Line 732: | ||
</TD> | </TD> | ||
<TD WIDTH=33%> | <TD WIDTH=33%> | ||
− | <P> | + | <P>LEVI ENOJNI NAREKOVAJ => GRAVE ACCENT</P> |
</TD> | </TD> | ||
</TR> | </TR> | ||
Line 743: | Line 743: | ||
</TD> | </TD> | ||
<TD WIDTH=33%> | <TD WIDTH=33%> | ||
− | <P> | + | <P>DESNI ENOJNI NAREKOVAJ => APOSTROF</P> |
</TD> | </TD> | ||
</TR> | </TR> | ||
Line 754: | Line 754: | ||
</TD> | </TD> | ||
<TD WIDTH=33%> | <TD WIDTH=33%> | ||
− | <P> | + | <P>DESNI DVOJNI NAREKOVAJ => QUOTATION |
MARK</P> | MARK</P> | ||
</TD> | </TD> |
Revision as of 14:39, 23 July 2008
Funkcije JIS in ASC za preglednice
Stanje specifikacije | |
Avtor | Eike Rathke |
Zadnja sprememba | 2007-07-25 |
Stanje | Standardno, implementirano v CWS dr54, posodobljeno v CWS calc43 |
Povzetek
Funkcija ASC pretvori znake ASCII in katakana iz polne širine v polovično širino.
Funkcija JIS pretvori znake ASCII in katakana iz polovične širine v polno širino.
Obe funkciji sta potrebni za interoperabilnost z japonskimi lokaliziranimi različicami programa Microsoft Excel.
Sklici
Referenčni dokument | Preverjeno | Mesto (URL) |
Preverjanje vnosa procesa specifikacije | potrjeno | ni na voljo |
Zahteve izdelka, RFE, ID zadeve (obvezno) | na voljo | i70213 |
Dokument koncepta izdelka | ni na voljo | |
Specifikacija preizkusov (obvezno) | na voljo | Dokument .xls, pripet zadevi i70213 |
Specifikacija IDL | ni na voljo | |
Pravila za specifikacije programov | ni na voljo | ni na voljo |
Drugo, npr. sklici na sorodne specifikacije | ni na voljo |
Stiki
Vloga | Ime | E-poštni naslov |
Razvijalec | Eike Rathke | <er@openoffice.org> |
Zagotavljanje kakovosti | Frank Stecher | <fst@openoffice.org> |
Dokumentacija | Uwe Fischer | <ufi@openoffice.org> |
Uporabniška izkušnja | ni na voljo | ni na voljo |
Akronimi in okrajšave
Akronim / okrajšava | Definicija |
ASCII | American Standard Code for Information Interchange |
JIS | Japanese Industrial Standard |
Podrobna specifikacija
JIS
Povzetek: Pretvori znake ASCII in katakana iz polovične širine v polno širino.
Skladnja: JIS( Besedilo T )
Vrne: Besedilo
Omejitve: Brez
Semantika: Pretvorba se izvrši na znakih ASCII in katakana polovične širine, nekateri znaki so pretvorjeni na poseben način, glejte spodnjo tabelo.Drugi znaki so enostavno kopirani iz T v rezultat. Funkcija je komplementarna funkciji ASC.
sledi pomeni, da sta dva zaporedna znaka, iz katerih je potrebno pretvoriti.
Iz znaka Unicode (c) |
V znak Unicode |
Komentar |
---|---|---|
0x0022 |
0x201d |
NAREKOVAJ => DESNI DVOJNI NAREKOVAJ
|
0x005c |
0xffe5 |
OBRATNI SOLIDUS "\" => ŠIROKODOLŽINSKI ZNAK ZA
JEN |
0x0060 |
0x2018 |
GRAVE ACCENT => LEVI ENOJNI NAREKOVAJ
MARK |
0x0027 |
0x2019 |
APOSTROF => DESNI ENOJNI NAREKOVAJ
MARK |
0x0021 <= c <= 0x007e |
c - 0x0021 + 0xff01 |
Znaki ASCII |
0xff66 |
0x30f2 |
katakana wo |
0xff67 <= c <= 0xff6b |
(c - 0xff67) * 2 + 0x30a1 |
katakana mali a-o |
0xff6c <= c <= 0xff6e |
(c - 0xff6c) * 2 + 0x30e3 |
katakana mali ya-yo |
0xff6f |
0x30c3 |
katakana mali tsu |
0xff71 <= c <= 0xff75 |
(c - 0xff71) * 2 + 0x30a2 |
katakana a-o |
0xff76 <= c <= 0xff81 |
(c - 0xff76) * 2 + 0x30ac |
katakana ga-dsu |
0xff76 <= c <= 0xff81 |
(c - 0xff76) * 2 + 0x30ab |
katakana ka-chi |
0xff82 <= c <= 0xff84 |
(c - 0xff82) * 2 + 0x30c5 |
katakana du-do |
0xff82 <= c <= 0xff84 |
(c - 0xff82) * 2 + 0x30c4 |
katakana tsu-to |
0xff85 <= c <= 0xff89 |
c - 0xff85 + 0x30ca |
katakana na-no |
0xff8a <= c <= 0xff8e |
(c - 0xff8a) * 3 + 0x30d0 |
katakana ba-bo |
0xff8a <= c <= 0xff8e |
(c - 0xff8a) * 3 + 0x30d1 |
katakana pa-po |
0xff8a <= c <= 0xff8e |
(c - 0xff8a) * 3 + 0x30cf |
katakana ha-ho |
0xff8f <= c <= 0xff93 |
c - 0xff8f + 0x30de |
katakana ma-mo |
0xff94 <= c <= 0xff96 |
(c - 0xff94) * 2 + 0x30e4 |
katakana ya-yo |
0xff97 <= c <= 0xff9b |
c - 0xff97 + 0x30e9 |
katakana ra-ro |
0xff9c |
0x30ef |
katakana wa |
0xff9d |
0x30f3 |
katakana nn |
0xff9e |
0x309b |
HALFWIDTH KATAKANA VOICED SOUND MARK => FULLWIDTH |
0xff9f |
0x309c |
HALFWIDTH KATAKANA SEMI-VOICED SOUND MARK => FULLWIDTH |
0xff70 |
0x30fc |
HALFWIDTH KATAKANA-HIRAGANA PROLONGED SOUND MARK => FULLWIDTH |
0xff61 |
0x3002 |
HALFWIDTH IDEOGRAPHIC FULL STOP => FULLWIDTH |
0xff62 |
0x300c |
HALFWIDTH LEFT CORNER BRACKET => FULLWIDTH |
0xff63 |
0x300d |
HALFWIDTH RIGHT CORNER BRACKET => FULLWIDTH |
0xff64 |
0x3001 |
HALFWIDTH IDEOGRAPHIC COMMA => FULLWIDTH |
0xff65 |
0x30fb |
HALFWIDTH KATAKANA MIDDLE DOT => FULLWIDTH |
ASC
Povzetek: Pretvori znake ASCII in katakana polne širine v znake polovične širine.
Skladnja: ASC( Besedilo T )
Vrne: Besedilo
Omejitve: Brez
Semantika: Conversion is done for full-width ASCII and katakana characters, some characters are converted in a special way, see table below. Other characters are simply copied from T to the result. This is the complementary function to JIS.
The percent sign % in the conversion table below denotes the modulo operation. A followed by means that a character is converted to two consecutive characters.
Iz znaka Unicode (c) |
V znak Unicode |
Komentar |
---|---|---|
0x30a1 <= c <= 0x30aa |
(c - 0x30a2) / 2 + 0xff71 |
katakana a-o |
0x30a1 <= c <= 0x30aa |
(c - 0x30a1) / 2 + 0xff67 |
katakana mali a-o |
0x30ab <= c <= 0x30c2 |
(c - 0x30ab) / 2 + 0xff76 |
katakana ka-chi |
0x30ab <= c <= 0x30c2 |
(c - 0x30ac) / 2 + 0xff76 |
katakana ga-dhi |
0x30c3 |
0xff6f |
katakana mali tsu |
0x30c4 <= c <= 0x30c9 |
(c - 0x30c4) / 2 + 0xff82 |
katakana tsu-to |
0x30c4 <= c <= 0x30c9 |
(c - 0x30c5) / 2 + 0xff82 |
katakana du-do |
0x30ca <= c <= 0x30ce |
c - 0x30ca + 0xff85 |
katakana na-no |
0x30cf <= c <= 0x30dd |
(c - 0x30cf) / 3 + 0xff8a |
katakana ha-ho |
0x30cf <= c <= 0x30dd |
(c - 0x30d0) / 3 + 0xff8a |
katakana ba-bo |
0x30cf <= c <= 0x30dd |
(c - 0x30d1) / 3 + 0xff8a |
katakana pa-po |
0x30de <= c <= 0x30e2 |
c - 0x30de + 0xff8f |
katakana ma-mo |
0x30e3 <= c <= 0x30e8 |
(c - 0x30e4) / 2 + 0xff94) |
katakana ya-yo |
0x30e3 <= c <= 0x30e8 |
(c - 0x30e3) / 2 + 0xff6c |
katakana mali ya-yo |
0x30e9 <= c <= 0x30ed |
c - 0x30e9 + 0xff97 |
katakana ra-ro |
0x30ef |
0xff9c |
katakana wa |
0x30f2 |
0xff66 |
katakana wo |
0x30f3 |
0xff9d |
katakana nn |
0xff01 <= c <= 0xff5e |
c - 0xff01 + 0x0021 |
Znaki ASCII |
0x2015 |
0xff70 |
VODORAVNA ČRTA => HALFWIDTH KATAKANA-HIRAGANA PROLONGED SOUND MARK |
0x2018 |
0x0060 |
LEVI ENOJNI NAREKOVAJ => GRAVE ACCENT |
0x2019 |
0x0027 |
DESNI ENOJNI NAREKOVAJ => APOSTROF |
0x201d |
0x0022 |
DESNI DVOJNI NAREKOVAJ => QUOTATION MARK |
0x3001 |
0xff64 |
IDEOGRAPHIC COMMA |
0x3002 |
0xff61 |
IDEOGRAPHIC FULL STOP |
0x300c |
0xff62 |
LEFT CORNER BRACKET |
0x300d |
0xff63 |
RIGHT CORNER BRACKET |
0x309b |
0xff9e |
KATAKANA-HIRAGANA VOICED SOUND MARK |
0x309c |
0xff9f |
KATAKANA-HIRAGANA SEMI-VOICED SOUND MARK |
0x30fb |
0xff65 |
KATAKANA MIDDLE DOT |
0x30fc |
0xff70 |
KATAKANA-HIRAGANA PROLONGED SOUND MARK |
0xffe5 |
0x005c |
FULLWIDTH YEN SIGN => REVERSE SOLIDUS "\" |
The REVERSE SOLIDUS "\" (aka backslash) is a
specialty that gets displayed as a Yen sign with some Japanese
fonts, which is a legacy of code-page 932,
see |
Sorodni sklici
Referenčni viri za znake polovične in polne širine
http://www.unicode.org/reports/tr11/
http://www.unicode.org/charts/charindex2.html#H
http://www.unicode.org/charts/charindex2.html#F
Informacije o preslikavi JIS X 0201 in JIS X 0208 v znake Unicode
http://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/JIS/JIS0201.TXT
http://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/JIS/JIS0208.TXT
Migracija
Ni migracije, prejšnje različice OOo niso imele funkcij JIS in ASC.
Konfiguracija
Konfiguracija ni potrebna.
Datotečni zapis
Ni sprememb datotečnega zapisa.
Odprte zadeve
Brez.