<!--#include file="CodePageCharsetConstants.inc" -->
<%
'******************************************************************************
' File:		/NR/System/WBC/Customizable/WBCFuncPagesConfig/MLSDisplayConfig/
'			/SiteBrowseDlgsConfig.inc
' Author:	Microsoft Corporation.
' Purpose:	Set up the the CodePage and Charset setting for all site browsing
'			dialogs, which include the "Page Copy", "Page Move", and
'			"Internal Links" dialogs..
'
'******************************************************************************


' -------------------------------------------------------------------------
'
'	[PUBLIC] For site admin to customize language display options for  
'	display all Channels/Postings browsing dialogs. 
'
'	@param pObjectContext [in] - the Channel or Posting context for which 
'		the Channels/Postings browsing tree UI is brought up. May be "Nothing"
'		in the cases that there is no Channel or Posting context.
'
'	@param pASPUtils [in] - the ASP utilities object that is used to grab
'		the default system code page.
'
' -------------------------------------------------------------------------
Function GetCodePageForSiteBrowse( pObjectContext, pASPUtils )

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

' -------------------------------------------------------------------------
'
'	[PUBLIC] For site admin to customize language display options for all 
'	Channels/Postings browsing dialogs.
'
'	@param pObjectContext [in] - the Channel or Posting context for which 
'		the Channels/Postings browsing tree UI is brought up. May be "Nothing"
'		in the cases that there is no Channel or Posting context.
'
' -------------------------------------------------------------------------
Function GetCharacterSetForSiteBrowse( pObjectContext )

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

%>