<!--#include file="CodePageCharsetConstants.inc" -->
<%
'******************************************************************************
' File:		/NR/System/WBC/Customizable/WBCFuncPagesConfig/MLSDisplayConfig/
'			/PageCreationWizardConfig.inc
' Author:	Microsoft Corporation.
' Purpose:	Set up the the CodePage and Charset setting for the Page
'			Creation wizard dialog.
'
'******************************************************************************


' -------------------------------------------------------------------------
'
'	[PUBLIC] For site admin to customize language display options for  
'	the Page Creation Wizard dialog.
'
'	@param pDestinationChannel [in] - the destination Channel for the WBC 
'		Page creation. May be "Nothing" when it is not known yet.
'
'	@param pConnectedPosting [in] - the connected Posting the WBC Page
'		creation is going to be based on. May be "Nothing" when it is not 
'		known yet or when the case is to create a Simple WBC Page
'
'	@param pASPUtils [in] - the ASP utilities object that is used to retrieve
'		the default system code page.
'
' -------------------------------------------------------------------------
Function GetCodePageForPageCreationWizard( pDestinationChannel, pConnectedPosting, pASPUtils )

	' -- it may use system default of the server
	' GetCodePageForPageCreationWizard = pASPUtils.SystemCodePage
	
	' -- if you want to display mixture of lanaguges, use 650001 which represents UTF-8:
	GetCodePageForPageCreationWizard = ID_CODEPAGE_UTF8
	
	' -- You may use other language specific CodePage value such as 932 for Japanese
	' GetCodePageForPageCreationWizard = ID_CODEPAGE_JAPANESE
	
End Function  'GetCodePageForPageCreationWizard

' -------------------------------------------------------------------------
'
'	[PUBLIC] For site admin to customize language display options for  
'	the Page Creation Wizard dialog.
'
'	@param pDestinationChannel [in] - the destination Channel for the WBC
'		Page creation. May be "Nothing" when it is not known yet.
'
'	@param pConnectedPosting [in] - the connected Posting the WBC Page
'		creation is going to be based on. May be "Nothing" when it is not 
'		known yet or when the case is to create a Simple WBC Page
'
' -------------------------------------------------------------------------
Function GetCharacterSetForPageCreationWizard( pDestinationChannel, pConnectedPosting )

	' -- it may be left unspecified; this would leave it up to client browser to use its default
	' GetCharacterSetForPageCreationWizard = ""
	
	' -- if you want to display mixture of lanaguges, use 650001 which represents UTF-8:
	GetCharacterSetForPageCreationWizard = ID_CHARSET_UTF8
	
	' -- You may use other language specific Charset value such as "Shift-JIS" for Japanese
	' GetCharacterSetForPageCreationWizard = ID_CHARSET_JAPANESE_SHIFTJIS
	
End Function  'GetCharacterSetForPageCreationWizard

%>