<!--#include file="CodePageCharsetConstants.inc" -->
<%
'******************************************************************************
' File:		/NR/System/WBC/Customizable/WBCFuncPagesConfig/MLSDisplayConfig/
'			/TasksAssistantConfig.inc
' Author:	Microsoft Corporation.
' Purpose:	Set up the the CodePage and Charset setting for the site browsing
'			of the "Production Manager" and "Approval Assistant" 
'
'******************************************************************************


' -------------------------------------------------------------------------
'	[PUBLIC] For site admin to customize language display options for 
'	the tasks assistant (production manager and approval list). The default 
'	implementation simply returns a default	code page, but the function may 
'	be customized to key off information provided by the gallery.
'
'	NOTE: If access to the user is required in order to determine the 
'	code page for the tasks assistant, the user can be retrieved from
'	Autosession.User
'
'	@param pASPUtils [in] - the ASP utilities object that is used to grab
'		the default system code page.
' -------------------------------------------------------------------------
Function GetCodePageForTasksAssistant( pASPUtils )

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


' -------------------------------------------------------------------------
'	[PUBLIC] For site admin to customize language display options for a 
'	Resource Gallery.  The default implementation is to use the UTF-8
'	character set.
'
'	NOTE: If access to the user is required in order to determine the 
'	character set for the tasks assistant, the user can be retrieved from
'	Autosession.User
'
'	@param pGallery [in] - the resource gallery for which the char set
'		is needed
' -------------------------------------------------------------------------
Function GetCharacterSetForTasksAssistant()

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


%>