Google Apps Script
  • Google Apps Script
首页 指南 参考 示例 支持 Add-ons Apps Script API
Google Apps Script
  • Google Apps Script
  • 首页
  • 指南
  • 参考
  • 示例
  • 支持
  • Add-ons
  • Apps Script API
  • Overview
  • G Suite Services
    • Calendar
      • 概览
      • CalendarApp
      • Classes
      • Calendar
      • CalendarEvent
      • CalendarEventSeries
      • EventGuest
      • EventRecurrence
      • RecurrenceRule
      • Enums
      • Color
      • EventColor
      • GuestStatus
      • Visibility
    • Contacts
      • 概览
      • ContactsApp
      • Classes
      • AddressField
      • CompanyField
      • Contact
      • ContactGroup
      • CustomField
      • DateField
      • EmailField
      • IMField
      • PhoneField
      • UrlField
      • Enums
      • ExtendedField
      • Field
      • Gender
      • Priority
      • Sensitivity
    • Data Studio
      • 概览
      • DataStudioApp
      • Classes
      • BigQueryConfig
      • Checkbox
      • CommunityConnector
      • Config
      • DebugError
      • Field
      • Fields
      • GetAuthTypeResponse
      • Info
      • OptionBuilder
      • SelectMultiple
      • SelectSingle
      • TextArea
      • TextInput
      • UserError
      • Enums
      • AggregationType
      • AuthType
      • BigQueryParameterType
      • FieldType
    • Document
      • 概览
      • DocumentApp
      • Classes
      • Body
      • Bookmark
      • ContainerElement
      • Document
      • Equation
      • EquationFunction
      • EquationFunctionArgumentSeparator
      • EquationSymbol
      • FooterSection
      • Footnote
      • FootnoteSection
      • HeaderSection
      • HorizontalRule
      • InlineDrawing
      • InlineImage
      • ListItem
      • NamedRange
      • PageBreak
      • Paragraph
      • Position
      • PositionedImage
      • Range
      • RangeBuilder
      • RangeElement
      • Table
      • TableCell
      • TableOfContents
      • TableRow
      • Text
      • UnsupportedElement
      • Interfaces
      • Element
      • Enums
      • Attribute
      • ElementType
      • FontFamily
      • GlyphType
      • HorizontalAlignment
      • ParagraphHeading
      • PositionedLayout
      • TextAlignment
      • VerticalAlignment
    • Domain
      • Migrate from Domain Service
    • Drive
      • 概览
      • DriveApp
      • Classes
      • File
      • FileIterator
      • Folder
      • FolderIterator
      • User
      • Enums
      • Access
      • Permission
    • Forms
      • 概览
      • FormApp
      • Classes
      • CheckboxGridItem
      • CheckboxGridValidation
      • CheckboxGridValidationBuilder
      • CheckboxItem
      • CheckboxValidation
      • CheckboxValidationBuilder
      • Choice
      • DateItem
      • DateTimeItem
      • DurationItem
      • Form
      • FormResponse
      • GridItem
      • GridValidation
      • GridValidationBuilder
      • ImageItem
      • ItemResponse
      • ListItem
      • MultipleChoiceItem
      • PageBreakItem
      • ParagraphTextItem
      • ParagraphTextValidation
      • ParagraphTextValidationBuilder
      • QuizFeedback
      • QuizFeedbackBuilder
      • ScaleItem
      • SectionHeaderItem
      • TextItem
      • TextValidation
      • TextValidationBuilder
      • TimeItem
      • VideoItem
      • Interfaces
      • Item
      • Enums
      • Alignment
      • DestinationType
      • FeedbackType
      • ItemType
      • PageNavigationType
    • Gmail
      • 概览
      • GmailApp
      • Classes
      • GmailAttachment
      • GmailDraft
      • GmailLabel
      • GmailMessage
      • GmailThread
    • Groups
      • 概览
      • GroupsApp
      • Classes
      • Group
      • Enums
      • Role
    • Language
      • 概览
      • LanguageApp
    • Maps
      • 概览
      • Maps
      • Classes
      • DirectionFinder
      • DirectionFinderEnums
      • ElevationSampler
      • Geocoder
      • StaticMap
      • StaticMapEnums
      • Enums
      • Avoid
      • Color
      • Format
      • MarkerSize
      • Mode
      • Type
    • Sites
      • 概览
      • SitesApp
      • Classes
      • Attachment
      • Column
      • Comment
      • ListItem
      • Page
      • Site
      • Enums
      • AttachmentType
      • PageType
    • Slides
      • 概览
      • SlidesApp
      • Classes
      • AffineTransform
      • AffineTransformBuilder
      • AutoText
      • Border
      • Color
      • ColorScheme
      • ConnectionSite
      • Fill
      • Group
      • Image
      • Layout
      • Line
      • LineFill
      • Link
      • List
      • ListStyle
      • Master
      • NotesMaster
      • NotesPage
      • Page
      • PageBackground
      • PageElement
      • PageElementRange
      • PageRange
      • Paragraph
      • ParagraphStyle
      • PictureFill
      • Point
      • Presentation
      • Selection
      • Shape
      • SheetsChart
      • Slide
      • SolidFill
      • Table
      • TableCell
      • TableCellRange
      • TableColumn
      • TableRow
      • TextRange
      • TextStyle
      • ThemeColor
      • Video
      • WordArt
      • Enums
      • AlignmentPosition
      • ArrowStyle
      • AutoTextType
      • CellMergeState
      • ContentAlignment
      • DashStyle
      • FillType
      • LineCategory
      • LineFillType
      • LineType
      • LinkType
      • ListPreset
      • PageBackgroundType
      • PageElementType
      • PageType
      • ParagraphAlignment
      • PlaceholderType
      • PredefinedLayout
      • SelectionType
      • ShapeType
      • SheetsChartEmbedType
      • SlideLinkingMode
      • SlidePosition
      • SpacingMode
      • TextBaselineOffset
      • TextDirection
      • ThemeColorType
      • VideoSourceType
    • Spreadsheet
      • 概览
      • SpreadsheetApp
      • Classes
      • Banding
      • BigQueryDataSourceSpec
      • BigQueryDataSourceSpecBuilder
      • BooleanCondition
      • ConditionalFormatRule
      • ConditionalFormatRuleBuilder
      • ContainerInfo
      • DataExecutionStatus
      • DataSource
      • DataSourceParameter
      • DataSourceSpec
      • DataSourceSpecBuilder
      • DataSourceTable
      • DataValidation
      • DataValidationBuilder
      • DeveloperMetadata
      • DeveloperMetadataFinder
      • DeveloperMetadataLocation
      • EmbeddedAreaChartBuilder
      • EmbeddedBarChartBuilder
      • EmbeddedChart
      • EmbeddedChartBuilder
      • EmbeddedColumnChartBuilder
      • EmbeddedComboChartBuilder
      • EmbeddedHistogramChartBuilder
      • EmbeddedLineChartBuilder
      • EmbeddedPieChartBuilder
      • EmbeddedScatterChartBuilder
      • EmbeddedTableChartBuilder
      • Filter
      • FilterCriteria
      • FilterCriteriaBuilder
      • GradientCondition
      • Group
      • NamedRange
      • OverGridImage
      • PageProtection
      • PivotFilter
      • PivotGroup
      • PivotTable
      • PivotValue
      • Protection
      • Range
      • RangeList
      • RichTextValue
      • RichTextValueBuilder
      • Selection
      • Sheet
      • Slicer
      • Spreadsheet
      • TextFinder
      • TextRotation
      • TextStyle
      • TextStyleBuilder
      • Enums
      • AutoFillSeries
      • BandingTheme
      • BooleanCriteria
      • BorderStyle
      • CopyPasteType
      • DataExecutionErrorCode
      • DataExecutionState
      • DataSourceParameterType
      • DataSourceType
      • DataValidationCriteria
      • DeveloperMetadataLocationType
      • DeveloperMetadataVisibility
      • Dimension
      • Direction
      • GroupControlTogglePosition
      • InterpolationType
      • PivotTableSummarizeFunction
      • PivotValueDisplayType
      • ProtectionType
      • RecalculationInterval
      • RelativeDate
      • SheetType
      • TextDirection
      • TextToColumnsDelimiter
      • WrapStrategy
  • Advanced Google Services
    • How to Enable Advanced Services
    • Admin SDK
      • Directory
      • Enterprise License Manager
      • Groups Migration
      • Groups Settings
      • G Suite Reseller
      • Reports
    • AdSense
    • Analytics
    • BigQuery
    • Calendar
    • Classroom
    • Docs
    • DoubleClick Campaigns
    • Drive
      • Drive
      • Drive Activity
    • Fusion Tables
    • Gmail
    • Google+
      • Google+
      • Google+ Domains
    • Mirror
    • People
    • Prediction
    • Sheets
    • Shopping Content
    • Slides
    • Tasks
    • Tag Manager
    • URL Shortener
    • YouTube
      • YouTube Data
      • YouTube Analytics
      • YouTube Content ID
  • Script Services
    • Base
      • 概览
      • Browser
      • Logger
      • MimeType
      • Session
      • console
      • Classes
      • Blob
      • Menu
      • PromptResponse
      • RgbColor
      • Ui
      • User
      • Interfaces
      • BlobSource
      • Enums
      • Button
      • ButtonSet
      • ColorType
      • Month
      • Weekday
    • Cache
      • 概览
      • CacheService
      • Classes
      • Cache
    • Card
      • 概览
      • CardService
      • Classes
      • Action
      • ActionResponse
      • ActionResponseBuilder
      • AuthorizationAction
      • AuthorizationException
      • Button
      • ButtonSet
      • Card
      • CardAction
      • CardBuilder
      • CardHeader
      • CardSection
      • ComposeActionResponse
      • ComposeActionResponseBuilder
      • Image
      • ImageButton
      • KeyValue
      • Navigation
      • Notification
      • OpenLink
      • SelectionInput
      • Suggestions
      • SuggestionsResponse
      • SuggestionsResponseBuilder
      • Switch
      • TextButton
      • TextInput
      • TextParagraph
      • UniversalActionResponse
      • UniversalActionResponseBuilder
      • UpdateDraftActionResponse
      • UpdateDraftActionResponseBuilder
      • UpdateDraftBodyAction
      • Widget
      • Enums
      • ComposedEmailType
      • ContentType
      • Icon
      • ImageStyle
      • LoadIndicator
      • OnClose
      • OpenAs
      • SelectionInputType
      • TextButtonStyle
      • UpdateDraftBodyType
    • Charts
      • 概览
      • Charts
      • Classes
      • AreaChartBuilder
      • BarChartBuilder
      • Chart
      • ChartOptions
      • ColumnChartBuilder
      • DataTable
      • DataTableBuilder
      • DataViewDefinition
      • DataViewDefinitionBuilder
      • LineChartBuilder
      • NumberRangeFilterBuilder
      • PieChartBuilder
      • ScatterChartBuilder
      • StringFilterBuilder
      • TableChartBuilder
      • TextStyle
      • TextStyleBuilder
      • Interfaces
      • DataTableSource
      • Enums
      • ChartHiddenDimensionStrategy
      • ChartMergeStrategy
      • ChartType
      • ColumnType
      • CurveStyle
      • MatchType
      • Orientation
      • PickerValuesLayout
      • PointStyle
      • Position
    • Content
      • 概览
      • ContentService
      • Classes
      • TextOutput
      • Enums
      • MimeType
    • HTML
      • 概览
      • google.script.history (client-side)
      • google.script.host (client-side)
      • google.script.run (client-side)
      • google.script.url (client-side)
      • HtmlService
      • Classes
      • HtmlOutput
      • HtmlOutputMetaTag
      • HtmlTemplate
      • Enums
      • SandboxMode
      • XFrameOptionsMode
    • JDBC
      • 概览
      • Jdbc
      • Classes
      • JdbcArray
      • JdbcBlob
      • JdbcCallableStatement
      • JdbcClob
      • JdbcConnection
      • JdbcDatabaseMetaData
      • JdbcDate
      • JdbcParameterMetaData
      • JdbcPreparedStatement
      • JdbcRef
      • JdbcResultSet
      • JdbcResultSetMetaData
      • JdbcRowId
      • JdbcSQLXML
      • JdbcSavepoint
      • JdbcStatement
      • JdbcStruct
      • JdbcTime
      • JdbcTimestamp
    • Lock
      • 概览
      • LockService
      • Classes
      • Lock
    • Mail
      • 概览
      • MailApp
    • Optimization
      • 概览
      • LinearOptimizationService
      • Classes
      • LinearOptimizationConstraint
      • LinearOptimizationEngine
      • LinearOptimizationSolution
      • Enums
      • Status
      • VariableType
    • Properties
      • 概览
      • PropertiesService
      • ScriptProperties
      • UserProperties
      • Classes
      • Properties
    • Script
      • 概览
      • ScriptApp
      • Classes
      • AuthorizationInfo
      • CalendarTriggerBuilder
      • ClockTriggerBuilder
      • DocumentTriggerBuilder
      • FormTriggerBuilder
      • Service
      • SpreadsheetTriggerBuilder
      • StateTokenBuilder
      • Trigger
      • TriggerBuilder
      • Enums
      • AuthMode
      • AuthorizationStatus
      • EventType
      • InstallationSource
      • TriggerSource
    • URL Fetch
      • 概览
      • UrlFetchApp
      • Classes
      • HTTPResponse
      • OAuthConfig Migration
    • Utilities
      • 概览
      • Utilities
      • Enums
      • Charset
      • DigestAlgorithm
      • MacAlgorithm
      • RsaAlgorithm
    • XML
      • 概览
      • XmlService
      • Classes
      • Attribute
      • Cdata
      • Comment
      • DocType
      • Document
      • Element
      • EntityRef
      • Format
      • Namespace
      • ProcessingInstruction
      • Text
      • Interfaces
      • Content
      • Enums
      • ContentType
  • 首页
  • 产品
  • G Suite Developer
  • Apps Script
  • 参考

Enum Charset

Charset

A typesafe enum for character sets.

Properties

PropertyTypeDescription
US_ASCIIEnum
UTF_8Enum

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

  • Blog Blog
    The latest news on the G Suite Developers blog
  • GitHub GitHub
    Fork our samples and try them yourself
  • Issue Tracker Issue Tracker
    Something wrong? Send us a bug report!
  • Stack Overflow Stack Overflow
    Ask a question under the google-apps-script tag
  • Videos Videos
    Check out the Apps Script videos on YouTube
  • Tools

    • Script Editor
    • Apps Script Dashboard
  • Connect

    • @gsuitedevs on Twitter
  • Product Info

    • Terms of Service
Google Developers
  • Android
  • Chrome
  • Firebase
  • Google Cloud Platform
  • 所有产品
  • 条款
  • 隐私权政策
  • 订阅 Google Developers 简报 订阅