complex scripts in internet explorer 5 0 n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
Complex Scripts* in Internet Explorer 5.0 PowerPoint Presentation
Download Presentation
Complex Scripts* in Internet Explorer 5.0

Loading in 2 Seconds...

play fullscreen
1 / 13

Complex Scripts* in Internet Explorer 5.0 - PowerPoint PPT Presentation


  • 128 Views
  • Uploaded on

Complex Scripts* in Internet Explorer 5.0. *and Multilingual text. F. Avery Bishop Senior Program Manager Microsoft Corporation. Agenda: Using Complex Scripts such as Arabic in Web pages. Single Binary Internet Explorer 5.0 UTF-8: Recommended encoding for multilingual HTML design

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Complex Scripts* in Internet Explorer 5.0' - hans


Download Now An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
complex scripts in internet explorer 5 0

Complex Scripts* in Internet Explorer 5.0

*and Multilingual text

F. Avery Bishop

Senior Program Manager

Microsoft Corporation

agenda using complex scripts such as arabic in web pages
Agenda: Using Complex Scripts such as Arabic in Web pages
  • Single Binary Internet Explorer 5.0
  • UTF-8: Recommended encoding for multilingual HTML design
  • Font embedding for universal display of Arabic pages
  • Displaying Arabic pages with dynamic HTML
  • Accessing Unicode data from web page with SQL Server 7.0
internet explorer 5 0 on win32 platforms
Internet Explorer 5.0 on Win32 Platforms
  • Displays complex scripts (e.g., Arabic) on all language platforms
  • Supports complex scripts in Document Object Model
encodings for multi lingual text in web pages
Encodings for Multi-lingual Text in Web Pages
  • Raw Unicode
    • OK for intranet on Windows NT networks
    • Not good for internet pages
  • Number entities, e.g., &#2325
    • OK for occasional use, e.g., inserting characters not in the main script of page
    • Not good for large documents
  • UTF-8 – Recommended encoding
    • Works just about everywhere
    • Supported by IE 4.0+, Netscape 4.0+
creating utf 8 webpages
Creating UTF-8 Webpages
  • Use charset=UTF-8 in META tag
  • Save HTML page as UTF-8 using notepad, Word, etc.
  • Saving as UTF-8 in Word:
    • Select File/Save As WebPage/Tools
    • Select Web Options/Encoding
    • Change charset designation to UTF-8
embedded fonts in web pages
Embedded Fonts in Web Pages
  • Downloadable fonts used only in web pages
  • Deleted when page is closed
  • WEFT tool
    • Creates embedded font from TTF file
    • Saves download time/space by using only those glyphs required for the page
  • On Microsoft website, see workshop/author/fontembed/font_embed.asp
introduction to dhtml
Introduction to DHTML
  • Based on Document Object Model
    • Objects in HTML document
      • Text in objects including titles, headers, etc
      • Attributes such as font, color, etc
    • Are accessible via scripts, e.g., JScript or VBScript
    • Supported in IE 4.0+
  • See various documents under www.microsoft.com/workshop/author for overview
examples of dhtml
Examples of DHTML

<H1 id=Head1 style=“font-weight: normal”

onmouseover = “makeitalic() ;”

onmouseout = “makenormal() ;” >

Sample Dynamic HTML </H1>

<script language=JavaScript>

function makeItalic() {

Head1.style.fontstyle = “Italic” ;

}

function makeNormal() {

Head1.style.fontstyle = “Normal” ;

}

</script>

Heading tag

Jscript functions that change style of heading text

using bidi text e g arabic and hebrew in dhtml
Using BiDi Text (e.g., Arabic and Hebrew) in DHTML
  • Use same design rules as static HTML
    • Mark encoding with charset value
    • Encode in UTF-8 or an Arabic or Hebrew charset
    • Use embedded fonts if needed
  • Use DIR attribute inside tags:
    • HTML: <HTML DIR=“RTL”>
    • DHTML object: document.dir = "RTL"
unicode support in sql server 7 0
Unicode Support in SQL Server 7.0
  • Unicode datatypes in SQL Server 7.0
    • NCHAR
    • NVARCHAR
    • NTEXT
    • Indicate Unicode text by N’text’, in SQL queries:

create table myTable (col1 CHAR(8), col2 NCHAR(8))

insert into myTable (col1,col2) (‘Japan’, N‘日本')

  • Utilities for entering/retrieving Unicode data:
    • Query Analyzer
    • Data Transformation Services
    • Client application using ODBC
accessing sql server 7 0 unicode data through asp webpages
Accessing SQL Server 7.0 Unicode Data through ASP Webpages
  • Use standard encodings:
    • UTF-8 in web pages
    • Unicode in SQL Server 7.0
  • Access data through Jscript/ODBC
  • Jscript automatically translates Unicode to current codepage in web page
    • Defaults to system codepage
    • Specify UTF-8 “codepage” using:
      • <%Session.CodePage=65001%> // Scope=session
      • <%@CODEPAGE=65001%> // Scope=page