<?xml version="1.0" encoding="utf-8"?>
<Session ID="/baanerp/tt/tss/tttss0101s000" xml:lang="en">
	<Header>
		<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">TSS Character Sets (tttss0101s000)</Title>
	</Header>
	<HelpTopic xml:lang="en"><AimSection><Paragraph class="Default">
                                 Use this session to edit data for part of a <Link href="/baanerp/tt/glossary/glossary#100037" role="glossary">TSS</Link> <Link href="/baanerp/tt/glossary/glossary#100038" role="glossary">character set</Link>.</Paragraph>
		</AimSection>
		<GeneralSection><Paragraph class="Default">You can only modify character sets that you have already defined in the <Link href="/baanerp/tt/tss/tttss0108m000" role="session">Character Set Names (tttss0108m000)</Link> session.</Paragraph>
			<List><ListIntro>You must enter the range and storage values in decimal notation, but you can enter the input expression and output expression in hexadecimal, decimal or octal:</ListIntro>
				<ListItem>To enter a decimal value, just type the value (for example, 10)</ListItem>
				<ListItem>To enter a hexadecimal value, prefix it with 0x (zero, x, for example 0xA)</ListItem>
				<ListItem>To enter an octal value, prefix it with 0 (zero, for example 012)</ListItem>
			</List>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<Paragraph class="Default">To convert between decimal, hexadecimal, octal and binary notation, use the Windows Calculator (calc.exe, in your Windows system folder). You must select Scientific on the <GUIRef href="" role="menu">View</GUIRef> menu of the Calculator.</Paragraph>
			</Note>
			<Paragraph class="Default">The <GUIRef href="/baanerp/tt/tss/tttss0101s000#tttss001.in.expr" role="manual">Input Expression</GUIRef> and <GUIRef href="/baanerp/tt/tss/tttss0101s000#tttss001.out.expr" role="manual">Output Expression</GUIRef> fields, together with the <GUIRef href="/baanerp/tt/tss/tttss0101s000#tttss001.store" role="manual">Storage</GUIRef> field, are used to convert between <Link href="/baanerp/tt/glossary/glossary#100040" role="glossary">NLS</Link> characters and <Link href="/baanerp/tt/glossary/glossary#100037" role="glossary">TSS</Link> characters. <GUIRef href="/baanerp/tt" role="package">Tools</GUIRef> also strips the 8th bit from the input character and adds 9B000000 (hexadecimal) to the value (see example).</Paragraph>
			<Paragraph class="Default">Stripping the 8th bit from a number, means to remove the 8th digit in binary notation.</Paragraph>
			<ExampleSection><SectionTitle>
                                    Example
                                 </SectionTitle>
				<Paragraph class="Default">1111 1110 (binary) = FE (hexadecimal) = 254 (decimal)</Paragraph>
				<Paragraph class="Default">-&gt;</Paragraph>
				<Paragraph class="Default">111 1110 (binary) = 7E (hexadecimal) = 126 (decimal)</Paragraph>
				<Paragraph class="Default">When converting characters between different systems (for example, NLS to TSS), the 8th bit is stripped to obtain the intrinsic character value, which is sometimes needed to address the font.</Paragraph>
			</ExampleSection>
			<Paragraph class="Default">You can use the following expressions in the <GUIRef href="/baanerp/tt/tss/tttss0101s000#tttss001.in.expr" role="manual">Input Expression</GUIRef> and <GUIRef href="/baanerp/tt/tss/tttss0101s000#tttss001.out.expr" role="manual">Output Expression</GUIRef> fields:</Paragraph>
			<TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated"><TBODY><TR><TD rowspan="1" colspan="1">&amp;n</TD>
						<TD rowspan="1" colspan="1">AND with n</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">|n</TD>
						<TD rowspan="1" colspan="1">OR with n</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">+n</TD>
						<TD rowspan="1" colspan="1">ADD n</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">-n</TD>
						<TD rowspan="1" colspan="1">SUBTRACT n</TD>
					</TR>
				</TBODY>
			</TABLE>
			<Paragraph class="Default">where n is the input value.</Paragraph>
			<ExampleSection><SectionTitle>
                                    Example
                                 </SectionTitle>
				<Paragraph class="Default">Values are in hexadecimal, unless otherwise stated.</Paragraph>
			</ExampleSection>
			<ProcedureList><ListIntro>NLS Value (from the <GUIRef href="/baanerp/tt/tss/tttss0101s000#tttss001.f.range" role="manual">Range from</GUIRef> and <GUIRef href="/baanerp/tt/tss/tttss0101s000#tttss001.t.range" role="manual">Range To</GUIRef> fields): 41377</ListIntro>
				<ListItem>Input = 41377 (decimal)</ListItem>
				<ListItem>Convert to hexadecimal 41377 = A1A1</ListItem>
				<ListItem>Perform input expression (AND 7F7F) and strips 8th bit = 2121</ListItem>
				<ListItem>Add storage value: 230000 + 2121 = 232121</ListItem>
				<ListItem>Add internal addition: 232121 + 9B000000 = 9B232121</ListItem>
			</ProcedureList>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<List><ListIntro>The <Link href="/baanerp/tt/glossary/glossary#100022" role="glossary">font</Link> and character set that you want to use must also be installed and selected on your personal computer.</ListIntro>
					<ListItem>If your personal computer is running on Windows NT, you might have to change the Regional Settings configuration as follows:</ListItem>
				</List>
				<List><ListIntro>The <Link href="/baanerp/tt/glossary/glossary#100022" role="glossary">font</Link> and character set that you want to use must also be installed and selected on your personal computer.</ListIntro>
					<ListItem>Click the Windows Start button</ListItem>
					<ListItem>Select Settings</ListItem>
					<ListItem>Select Control Panel</ListItem>
					<ListItem>Double-click Regional Settings</ListItem>
					<ListItem>Choose the appropriate Country and Input Locales If the country or locale you require is not present, you might have to purchase a different regional version of Windows NT. Contact your local Microsoft dealer.</ListItem>
				</List>
				<List><ListIntro>The <Link href="/baanerp/tt/glossary/glossary#100022" role="glossary">font</Link> and character set that you want to use must also be installed and selected on your personal computer.</ListIntro>
					<ListItem>If your personal computer is running on another system, alter the code page.</ListItem>
					<ListItem>If necessary, install extra fonts to your Fonts folder.</ListItem>
					<ListItem>You must also ensure that your printer has a suitable device driver, and that it can print the TSS characters. You can link a device to a locale in the <GUIRef href="/baanerp/tt/aad/ttaad3500m000" role="session">Device Data (ttaad3500m000)</GUIRef> session.</ListItem>
				</List>
			</Note>
			<Paragraph class="Default">You can change the fonts and NLS that are used by the Display Browser by using the appropriate tabs of the BW Configurator program.</Paragraph>
		</GeneralSection>
	</HelpTopic>
	<Fields><FieldHelp ID="tttss001.name"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Name</Title>
			</Header>
			<FuncDesc>The name of the <Link href="/baanerp/tt/glossary/glossary#100037" role="glossary">TSS</Link> <Link href="/baanerp/tt/glossary/glossary#100038" role="glossary">character set</Link> that you defined in the <GUIRef href="/baanerp/tt/tss/tttss0108m000" role="session">Character Set Names (tttss0108m000)</GUIRef> session.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="tttss000.descr"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Name</Title>
			</Header>
			<FuncDesc>The description of the <Link href="/baanerp/tt/glossary/glossary#100037" role="glossary">TSS</Link> <Link href="/baanerp/tt/glossary/glossary#100038" role="glossary">character set</Link> that you defined in the <GUIRef href="/baanerp/tt/tss/tttss0108m000" role="session">Character Set Names (tttss0108m000)</GUIRef> session.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="tttss001.seq"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Seq.</Title>
			</Header>
			<FuncDesc>The sequence number of the range of characters in the <Link href="/baanerp/tt/glossary/glossary#100037" role="glossary">TSS</Link> <Link href="/baanerp/tt/glossary/glossary#100038" role="glossary">character set</Link>. This value is used for sorting purposes.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="tttss001.f.range"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Range from</Title>
			</Header>
			<FuncDesc>Enter the decimal value of the first in the range of characters for the current sequence. You must not enter a range that includes control characters.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="tttss001.t.range"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Range To</Title>
			</Header>
			<FuncDesc>Enter decimal value of the last in the range of characters for the current sequence. You must not enter a range that includes control characters.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="tttss001.in.expr"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Input Expression</Title>
			</Header>
			<FuncDesc>Enter the expression to convert <Link href="/baanerp/tt/glossary/glossary#100040" role="glossary">NLS</Link> characters into <Link href="/baanerp/tt/glossary/glossary#100037" role="glossary">TSS</Link> characters.</FuncDesc>
			<SimpleSection><Paragraph class="Default">You can use the following expressions:</Paragraph>
				<TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated"><TBODY><TR><TD rowspan="1" colspan="1">&amp;n</TD>
							<TD rowspan="1" colspan="1">AND with n</TD>
						</TR>
						<TR><TD rowspan="1" colspan="1">|n</TD>
							<TD rowspan="1" colspan="1">OR with n</TD>
						</TR>
						<TR><TD rowspan="1" colspan="1">+n</TD>
							<TD rowspan="1" colspan="1">ADD n</TD>
						</TR>
						<TR><TD rowspan="1" colspan="1">-n</TD>
							<TD rowspan="1" colspan="1">SUBTRACT n</TD>
						</TR>
					</TBODY>
				</TABLE>
				<Paragraph class="Default">where n is the NLS character value.</Paragraph>
				<Paragraph class="Default">You can use the following expressions: &amp;n AND with n |n OR with n +n ADD n -n SUBTRACT n where</Paragraph>
				<Formula space-and-orientation="indented-estimated"><Paragraph class="Default">n </Paragraph>
				</Formula>
				<Paragraph class="Default">is the NLS character value.</Paragraph>
				<Paragraph class="Default">See the session Help for more details.</Paragraph>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="tttss001.out.expr"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Output Expression</Title>
			</Header>
			<FuncDesc>Enter the expression to convert <Link href="/baanerp/tt/glossary/glossary#100037" role="glossary">TSS</Link> characters into <Link href="/baanerp/tt/glossary/glossary#100040" role="glossary">NLS</Link> characters.</FuncDesc>
			<SimpleSection><Paragraph class="Default">You can use the following expressions:</Paragraph>
				<TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated"><TBODY><TR><TD rowspan="1" colspan="1">&amp;n</TD>
							<TD rowspan="1" colspan="1">AND with n</TD>
						</TR>
						<TR><TD rowspan="1" colspan="1">|n</TD>
							<TD rowspan="1" colspan="1">OR with n</TD>
						</TR>
						<TR><TD rowspan="1" colspan="1">+n</TD>
							<TD rowspan="1" colspan="1">ADD n</TD>
						</TR>
						<TR><TD rowspan="1" colspan="1">-n</TD>
							<TD rowspan="1" colspan="1">SUBTRACT n</TD>
						</TR>
					</TBODY>
				</TABLE>
				<Paragraph class="Default">where n is the TSS character value.</Paragraph>
				<Paragraph class="Default">You can use the following expressions: &amp;n AND with n |n OR with n +n ADD n -n SUBTRACT n where</Paragraph>
				<Formula space-and-orientation="indented-estimated"><Paragraph class="Default">n </Paragraph>
				</Formula>
				<Paragraph class="Default">is the TSS character value.</Paragraph>
				<Paragraph class="Default">See the session Help for more details.</Paragraph>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="tttss001.store"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Storage</Title>
			</Header>
			<FuncDesc>The value that is added to the result of the calculation with the value of the <GUIRef href="/baanerp/tt/tss/tttss0101s000#tttss001.in.expr" role="manual">Input Expression</GUIRef> field.</FuncDesc>
			<SimpleSection><Paragraph class="Default">See the session Help for more details.</Paragraph>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="tttss001.descr"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Description</Title>
			</Header>
			<FuncDesc>The description of the character set sequence.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="tttss001.set"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Set</Title>
			</Header>
			<FuncDesc>The character-set number.</FuncDesc>
			<SimpleSection><List><ListIntro>You can define three character sets for each <Link href="/baanerp/tt/glossary/glossary#100043" role="glossary">locale</Link>:</ListIntro>
					<ListItem>Single byte, single width</ListItem>
					<ListItem>Multi byte, double width</ListItem>
					<ListItem>Multi byte, single width. You can assign a separate font to each character set number.</ListItem>
				</List>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="tttss001.bytes"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Bytes</Title>
			</Header>
			<FuncDesc>Latin character sets (for example, ASCII or ISO 8859) are single byte (8 bit), whereas (for example) Japanese and Hebrew character sets require more memory (usually 4 bytes).</FuncDesc>
		</FieldHelp>
	</Fields>
</Session>
