w10schools
Login
Register
In current category
Only my posts
Home
Tutorials
HTML, CSS
HTML, HTML5
CSS, CSS3
XML
JavaScript, AJAX
PHP
Ruby on Rails
Ruby
Rails
ASP.NET
ASP
C# .NET
Java
JSP
Databases
MySQL
MSSQL Server
Oracle
Web Server
Windows
Linux
Apache
IIS
Design
Dreamweaver
Flash
Photoshop
Fireworks
CorelDRAW
Illustrator
References
HTML
Bootstrap
CSS
CSS Selectors
Sass
JavaScript
Mobile Apps
Cordova
Ruby on Rails
Ruby
Rails
PHP
Function
Language
CodeIgniter
Phalcon
PHPUnit
Symfony
Drupal
Yii
Laravel
Perl
Perl
Python
Python
Django
NumPy
Pandas
scikit-image
scikit-learn
Statsmodels
Matplotlib
Lua
Lua
C, C++
C
C++
Server
Docker
Apache HTTP Server
Nginx
Database
PostgreSQL
Big Data
TensorFlow
Game Development
Phaser
LÖVE
Articles
News
General
Website Promotion
Online Advertising
Make Money Online
Editorials
Interviews
Web Roundups
Resources
Design
Fonts
Graphics
Vectors
Templates
UI (User Interface)
Brushes
Patterns, Backgrounds
Textures
Web Development
HTML, CSS
XML
JavaScript, AJAX
Ruby on Rails
PHP
Java
.NET
Python
Perl
Flash
Mobile Application Development
Mobile Development Tools
Swift
Online Services
Online Storage
Web Hosting
Tools
Generators
Edit
Toggle Dropdown
In Place Editing
Advanced Editing
References
Ruby on Rails
Ruby
Classes
RDoc
RDoc::Encoding
Language
Default
Markdown
set_encoding
set_encoding
(string)
Class Public methods
Sets the encoding of
string
based on the magic comment
Links:
https://github.com/ruby/ruby/blob/dff59f6c5df7d995d02e8173a8ce42ff9c552e88/lib/rdoc/encoding.rb#L76
doc_ruby_on_rails
2015-05-01 21:19:41
Comments
Leave a Comment
Please
login
to continue.
Popular Articles
set_encoding
strio.set_encoding(ext_enc, [int_enc[, opt]]) => strio Instance Public methods Specify the encoding of the StringIO as ext_enc. Use
set_encoding
io.set_encoding(ext_enc) â ioio.set_encoding("ext_enc:int_enc") â ioio.set_encoding(ext_enc, int_enc) â ioio.set_encodi
set_encoding
ARGF.set_encoding(ext_enc) â ARGFARGF.set_encoding("ext_enc:int_enc") â ARGFARGF.set_encoding(ext_enc, int_enc) â ARGFA
iconv_set_encoding
(PHP 4 >= 4.0.5, PHP 5, PHP 7) Set current setting for character encoding conversion bool iconv
fdf_set_encoding
(PHP 4 >= 4.0.7, PHP 5, PHP 7) Sets FDF character encoding bool fdf_set_encoding ( resource $fd
Return to View
Please login to continue.